Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/property/backingField.kt
T
Mikhail Zarechenskiy 1153238fd7 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
2023-06-19 15:21:32 +00:00

8 lines
165 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_EXPRESSION
val i: Int = 10
get() {
::<!UNSUPPORTED_REFERENCES_TO_VARIABLES_AND_PARAMETERS!>field<!>
return field
}