KT-12152 : constructor consistency: handle non-final classes

This commit is contained in:
Mikhail Glukhikh
2015-08-11 15:35:56 +03:00
parent 8e18165065
commit f7b5d67543
7 changed files with 97 additions and 10 deletions
@@ -10,7 +10,7 @@ fun foo() = ""
open class B: A() {
init {
val a: Int = foo()
val a: Int = <!DEBUG_INFO_LEAKING_THIS!>foo<!>()
}
}