[FIR] Add VARIABLE_WITH_NO_TYPE_NO_INITIALIZER diagnostic
This commit is contained in:
committed by
teamcityserver
parent
a63f218dd3
commit
b706e776ad
+1
-1
@@ -23,6 +23,6 @@ fun testVarInWhenSubject() {
|
||||
}
|
||||
|
||||
fun testDelegatedValInWhenSubject() {
|
||||
when (<!ILLEGAL_DECLARATION_IN_WHEN_SUBJECT!>val y by lazy { 42 }<!>) {
|
||||
when (<!ILLEGAL_DECLARATION_IN_WHEN_SUBJECT!>val <!VARIABLE_WITH_NO_TYPE_NO_INITIALIZER!>y<!> by lazy { 42 }<!>) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user