Skip to content

Commit e58a160

Browse files
Update comment
1 parent c823a12 commit e58a160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/PCPCheckAndHeal.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class PCPCheckAndHeal(@constructorOnly ictx: Context) extends TreeMapWithStages(
142142
None
143143
else if (!sym.isStaticOwner && !isClassRef)
144144
tryHeal(sym, tp, pos)
145-
else if (!sym.owner.isStaticOwner) // local class reference that is phase
145+
else if (!sym.owner.isStaticOwner) // non-top level class reference that is phase inconsistent
146146
levelError(sym, tp, pos, "")
147147
else
148148
None

0 commit comments

Comments
 (0)