"field": synthetic variable creation in accessors, codegen changed accordingly, a set of tests, relevant code fix (j2k)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
||||
fun foo() {
|
||||
open class Local {
|
||||
val my: Int = 2
|
||||
get() = field
|
||||
}
|
||||
val your = object: Local() {
|
||||
val your: Int = 3
|
||||
get() = field
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user