Extract diagnostics about references to variables to a separate one
Note that I've left in FIR everything as is to avoid non-trivial refactoring that is required right now to report more specific diagnostics ^KT-59152
This commit is contained in:
committed by
Space Team
parent
9cf40f8c2f
commit
1153238fd7
+7
@@ -0,0 +1,7 @@
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION
|
||||
|
||||
val i: Int = 10
|
||||
get() {
|
||||
::<!UNSUPPORTED!>field<!>
|
||||
return field
|
||||
}
|
||||
Reference in New Issue
Block a user