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 e2fdcb2 commit 4e009c6Copy full SHA for 4e009c6
tests/neg/i11064.scala renamed to tests/neg-custom-args/allow-deep-subtypes/i11064.scala
tests/neg/i6225.scala
@@ -1,11 +1,11 @@
1
-object O1 { // error: cannot be instantiated
+object O1 {
2
type A[X] = X
3
opaque type T = A // error: opaque type alias must be fully applied
4
}
5
6
object O2 {
7
opaque type A[X] = X
8
- object A { // error: cannot be instantiated
+ object A {
9
10
11
0 commit comments