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.
1 parent d24b6f2 commit 11a8fadCopy full SHA for 11a8fad
tests/neg/i4385.scala
@@ -1,7 +1,6 @@
1
-class i0 { // error: stack overflow.
+class i0 {
2
class i1 { type i2 }
3
type i3 = i1.i2 // error
4
- type i4 = i0 { type i1 <: i4 } // this line triggers the overflow
5
- // (and reporting it here would be better).
6
- // This test ensure the above stack overflow is reported and not hidden by the earlier error.
+ type i4 = i0 { type i1 <: i4 } // error: recursion limit exceeded
+ // This test ensures the above stack overflow is reported and not hidden by the earlier error.
7
}
0 commit comments