Skip to content

Commit 4e4bf20

Browse files
Update compiler/src/dotty/tools/dotc/transform/PCPCheckAndHeal.scala
Co-authored-by: Guillaume Martres <[email protected]>
1 parent df0d9ea commit 4e4bf20

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
@@ -179,7 +179,7 @@ class PCPCheckAndHeal(@constructorOnly ictx: Context) extends TreeMapWithStages(
179179
* - If a type reference is used a higher level, then it is inconsistent.
180180
* Will attempt to heal before failing.
181181
* - If a term reference is used a higher level, then it is inconsistent.
182-
* It can not be healed because the term will not exists in the any future stage.
182+
* It cannot be healed because the term will not exist in any future stage.
183183
*
184184
* If `T` is a reference to a type at the wrong level, try to heal it by replacing it with
185185
* a type tag of type `quoted.Type[T]`.

0 commit comments

Comments
 (0)