We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
From Section 4.2 of the FOOL'12 DOT paper:
object test { trait T1 { type A <: B type B } trait T2 { type A type B <: A } val x: T1 & T2 = ??? val y: x.A = 42 }
This example sends dotty into an infinite loop. In Scala 2, this cannot happen because there's no symmetric type intersection.