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 72f1fcf commit 04d1f12Copy full SHA for 04d1f12
tests/neg/i114666.scala
@@ -0,0 +1,9 @@
1
+open class GraphDB[Id]:
2
+ class Node private[GraphDB](val id: Id)
3
+end GraphDB
4
+
5
+object graph extends GraphDB[String]
6
+import graph.*
7
8
+@main
9
+def Test = new Node("Alice") // error
0 commit comments