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 5018a12 + 102c778 commit 98103a2Copy full SHA for 98103a2
tests/pos/i8143.scala
@@ -0,0 +1,11 @@
1
+class Reflection(val internal: CompilerInterface) { self => // It works if the self is removed
2
+ opaque type Flags = internal.Flags
3
+ object Flags {
4
+ def EmptyFlags: Flags = internal.Flags_EmptyFlags
5
+ }
6
+}
7
+
8
+trait CompilerInterface {
9
+ type Flags
10
+ def Flags_EmptyFlags: Flags
11
0 commit comments