[FIR] Add NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY diagnostic
This commit is contained in:
committed by
teamcityserver
parent
151478aa27
commit
a6984c5198
+1
-1
@@ -33,7 +33,7 @@ public interface Klass extends TypeParametersOwner {
|
||||
fun List<String>.single(): String = ""
|
||||
fun List<Int>.single(): Int = 2
|
||||
|
||||
fun listOf(): List<String> {}
|
||||
fun listOf(): List<String> {<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
|
||||
|
||||
public open class LightMember<D> : Member<D>, Light() {
|
||||
override fun getName(): String = "Light"
|
||||
|
||||
Reference in New Issue
Block a user