Fixed wrong linearization for open classes and traits.

openList changed during neighbors calculation because the same TLinkable object cannot be put into more than one TLinkedList at the same time.

#KT-3499 fixed
This commit is contained in:
Zalim Bashorov
2013-04-11 18:54:16 +04:00
parent 840a728d26
commit 7680203de2
3 changed files with 20 additions and 1 deletions
@@ -0,0 +1,13 @@
package foo
trait A : B, E
trait B
open class C {
fun foo() = true
}
trait D
trait E
trait F : G, D
trait G
fun box() = C().foo()