Skip to content

Commit 285490b

Browse files
committed
Address review
1 parent 67c3acf commit 285490b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/core/SymDenotations.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,23 +1410,23 @@ object SymDenotations {
14101410
def namedType(using Context): NamedType =
14111411
if (isType) typeRef else termRef
14121412

1413-
/** The typeRef where `pre.O$.this` is changed to `pre.O.type` if `O` is a non-static object
1413+
/** The typeRef where `pre.O$.this` is changed to `pre.O.type`
14141414
*
14151415
* This is required to avoid owner crash in ExplicitOuter.
14161416
* See tests/pos/i10769.scala
14171417
*/
14181418
def reachableTypeRef(using Context) =
14191419
TypeRef(owner.reachableThisType, symbol)
14201420

1421-
/** The termRef where `pre.O$.this` is changed to `pre.O.type` if `O` is a non-static object
1421+
/** The termRef where `pre.O$.this` is changed to `pre.O.type`
14221422
*
14231423
* This is required to avoid owner crash in ExplicitOuter.
14241424
* See tests/pos/i10769.scala
14251425
*/
14261426
def reachableTermRef(using Context) =
14271427
TermRef(owner.reachableThisType, symbol)
14281428

1429-
/** The thisType where `pre.O$.this` is changed to `pre.O.type` if `O` is a non-static object */
1429+
/** The thisType where `pre.O$.this` is changed to `pre.O.type` */
14301430
def reachableThisType(using Context): Type =
14311431
if this.is(Package) then
14321432
symbol.thisType

0 commit comments

Comments
 (0)