File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1410,23 +1410,23 @@ object SymDenotations {
1410
1410
def namedType (using Context ): NamedType =
1411
1411
if (isType) typeRef else termRef
1412
1412
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`
1414
1414
*
1415
1415
* This is required to avoid owner crash in ExplicitOuter.
1416
1416
* See tests/pos/i10769.scala
1417
1417
*/
1418
1418
def reachableTypeRef (using Context ) =
1419
1419
TypeRef (owner.reachableThisType, symbol)
1420
1420
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`
1422
1422
*
1423
1423
* This is required to avoid owner crash in ExplicitOuter.
1424
1424
* See tests/pos/i10769.scala
1425
1425
*/
1426
1426
def reachableTermRef (using Context ) =
1427
1427
TermRef (owner.reachableThisType, symbol)
1428
1428
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` */
1430
1430
def reachableThisType (using Context ): Type =
1431
1431
if this .is(Package ) then
1432
1432
symbol.thisType
You can’t perform that action at this time.
0 commit comments