Fix for KT-15446: Property reference on an instance of subclass causes java.lang.VerifyError

#KT-15446 Fixed
This commit is contained in:
Mikhael Bogdanov
2016-12-29 13:37:59 +01:00
parent ff734ce9ea
commit 043f3199c7
9 changed files with 103 additions and 3 deletions
@@ -0,0 +1,11 @@
open class A {
var f: String = "OK"
}
class B : A() {
}
fun box() : String {
val b = B()
return (b::f).get()
}