[FIR] Add NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY diagnostic
This commit is contained in:
committed by
teamcityserver
parent
151478aa27
commit
a6984c5198
+1
-1
@@ -3,7 +3,7 @@ fun interface MySam {
|
||||
}
|
||||
|
||||
class A {
|
||||
fun bar(x: String): Int {}
|
||||
fun bar(x: String): Int {<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
|
||||
}
|
||||
|
||||
fun foo(x: MySam) {}
|
||||
|
||||
Reference in New Issue
Block a user