Fix incorrect 'original' in property accessors
#KT-3930 Fixed
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
public abstract class Foo {
|
||||
var isOpen = true
|
||||
private set
|
||||
}
|
||||
public class Bar: Foo() {
|
||||
inner class Baz {
|
||||
fun call() {
|
||||
val s = this@Bar
|
||||
s.isOpen
|
||||
}
|
||||
}
|
||||
}
|
||||
fun box(): String {
|
||||
Bar().Baz()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user