FIR checker: add diagnostics for backing fields
This commit is contained in:
committed by
Mikhail Glukhikh
parent
a88b82d8ff
commit
bd37badf29
+2
-2
@@ -11,7 +11,7 @@ var x2: Int = 1
|
||||
field = 1
|
||||
}
|
||||
|
||||
val x3 = run {
|
||||
val x3 = <!PROPERTY_INITIALIZER_NO_BACKING_FIELD!>run {
|
||||
fun foo() {
|
||||
val c = 1 + 1
|
||||
throw Exception()
|
||||
@@ -25,7 +25,7 @@ val x3 = run {
|
||||
}
|
||||
|
||||
throw Exception()
|
||||
}
|
||||
}<!>
|
||||
get() {
|
||||
class GetterLocalClass {
|
||||
init {
|
||||
|
||||
Reference in New Issue
Block a user