File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
scaladoc-testcases/src/tests
scaladoc/src/dotty/tools/scaladoc/tasty Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,8 @@ opaque type Permissions
66 = Int
77opaque type PermissionChoice
88 = 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:
314314 def parseObject (classDef : ClassDef , signatureOnly : Boolean = false ): Member =
315315 mkClass(classDef)(
316316 // 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 ),
318318 signatureOnly = signatureOnly
319319 )
320320
You can’t perform that action at this time.
0 commit comments