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.
2 parents 0a0b110 + 19ce8f9 commit 288cb89Copy full SHA for 288cb89
tests/init/pos/i9229/A_1.scala
@@ -0,0 +1,7 @@
1
+package p
2
+
3
+class A {
4
+ class Link
5
+ object Link
6
+ def Link(tag: String): Link = ???
7
+}
tests/init/pos/i9229/B_2.scala
@@ -0,0 +1,6 @@
+import p.A
+object B {
+ val a = new A // No crash with check-init
+ object graph extends A // <<= crach with check-init
0 commit comments