Fix incorrect 'original' in property accessors

#KT-3930 Fixed
This commit is contained in:
Alexander Udalov
2015-06-15 21:51:42 +03:00
parent 7c846388bd
commit 98ce0d529c
10 changed files with 104 additions and 37 deletions
+16
View File
@@ -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"
}