[FIR] Add NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY diagnostic
This commit is contained in:
committed by
teamcityserver
parent
151478aa27
commit
a6984c5198
Vendored
+1
-1
@@ -19,4 +19,4 @@ fun test(a: Any, s: MutableSet<String>) {
|
||||
}
|
||||
|
||||
//from standard library
|
||||
fun <T> arrayListOf(vararg t: T): MutableList<T> {}
|
||||
fun <T> arrayListOf(vararg t: T): MutableList<T> {<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
|
||||
|
||||
Reference in New Issue
Block a user