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 928e01a commit 19ce8f9Copy full SHA for 19ce8f9
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