Test for obsolete KT-8189: java.lang.UnsupportedOperationException: Don't know how to generate

#KT-8189 Obsolete
This commit is contained in:
Michael Bogdanov
2015-11-06 12:17:07 +03:00
parent 0619ef47ac
commit 9d3fa7da80
3 changed files with 64 additions and 0 deletions
@@ -0,0 +1,10 @@
interface A { fun f() }
open class P(val z: B)
class B : A {
override fun f() {}
class C : A by <!NO_THIS!>this<!> {}
class D(val x : B = <!NO_THIS!>this<!>)
class E : P(<!NO_THIS!>this<!>)
}