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 ea23a19 commit b4258e2Copy full SHA for b4258e2
tests/neg/constrParams.scala
@@ -0,0 +1,8 @@
1
+
2
3
+class C {
4
+ type INT = Int
5
+ class I
6
+ def this(x: INT) = this() // error: illegal access
7
+ def this(x: I) = this() // error: illegal access
8
+}
0 commit comments