KT-303 Stack overflow on a cyclic class hierarchy

This commit is contained in:
Andrey Breslav
2011-09-13 17:17:45 +04:00
parent 261f88c215
commit 910ba57f8a
6 changed files with 222 additions and 42 deletions
@@ -0,0 +1,11 @@
// KT-303 Stack overflow on a cyclic class hierarchy
open class Foo() : <error>Bar</error>() {
val a : Int = 1
}
open class Bar() : <error>Foo</error>() {
}
val x : Int = <error>Foo()</error>