Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/transform/PCPCheckAndHeal.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Martres <smarter@ubuntu.com>
  • Loading branch information
nicolasstucki and smarter authored Jan 23, 2023
1 parent df0d9ea commit 4e4bf20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class PCPCheckAndHeal(@constructorOnly ictx: Context) extends TreeMapWithStages(
* - If a type reference is used a higher level, then it is inconsistent.
* Will attempt to heal before failing.
* - If a term reference is used a higher level, then it is inconsistent.
* It can not be healed because the term will not exists in the any future stage.
* It cannot be healed because the term will not exist in any future stage.
*
* If `T` is a reference to a type at the wrong level, try to heal it by replacing it with
* a type tag of type `quoted.Type[T]`.
Expand Down

0 comments on commit 4e4bf20

Please sign in to comment.