File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ object SymDenotations {
592
592
593
593
def seesOpaques (implicit ctx : Context ): Boolean =
594
594
containsOpaques ||
595
- is(Module , butNot = Package ) && owner.containsOpaques
595
+ is(Module , butNot = Package ) && owner.seesOpaques
596
596
597
597
/** Is this the denotation of a self symbol of some class?
598
598
* This is the case if one of two conditions holds:
Original file line number Diff line number Diff line change @@ -2463,9 +2463,9 @@ class ExplainingTypeComparer(initctx: Context) extends TypeComparer(initctx) {
2463
2463
if (skipped) op
2464
2464
else {
2465
2465
indent += 2
2466
- b append " \n " append (" " * indent) append " ==> " append str
2466
+ b. append( " \n " ). append(" " * indent). append( " ==> " ). append( str)
2467
2467
val res = op
2468
- b append " \n " append (" " * indent) append " <== " append str append " = " append show(res)
2468
+ b. append( " \n " ). append(" " * indent). append( " <== " ). append( str). append( " = " ). append( show(res) )
2469
2469
indent -= 2
2470
2470
res
2471
2471
}
You can’t perform that action at this time.
0 commit comments