File tree 2 files changed +6
-2
lines changed
scaladoc/src/dotty/tools/scaladoc/tasty
scaladoc-testcases/src/tests
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,8 @@ opaque type Permissions
6
6
= Int
7
7
opaque type PermissionChoice
8
8
= Int
9
- // opaque type Permission <: Permissions & PermissionChoice = Int TODO: #112
9
+ // opaque type Permission <: Permissions & PermissionChoice = Int TODO: #112
10
+
11
+ object Foo :
12
+ opaque type Bar
13
+ = Int
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ trait ClassLikeSupport:
314
314
def parseObject (classDef : ClassDef , signatureOnly : Boolean = false ): Member =
315
315
mkClass(classDef)(
316
316
// All objects are final so we do not need final modifier!
317
- modifiers = classDef.symbol.getExtraModifiers().filter(_ != Modifier .Final ),
317
+ modifiers = classDef.symbol.getExtraModifiers().filter(mod => mod != Modifier .Final && mod != Modifier . Opaque ),
318
318
signatureOnly = signatureOnly
319
319
)
320
320
You can’t perform that action at this time.
0 commit comments