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:
@@ -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()
|
||||
Reference in New Issue
Block a user