Skip to content

Commit 19d65a2

Browse files
committed
Remove Checking from PCPCheckAndHeal
1 parent 1d868db commit 19d65a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import dotty.tools.dotc.util.Property
4747
* }
4848
*
4949
*/
50-
class PCPCheckAndHeal extends TreeMapWithStages with Checking {
50+
class PCPCheckAndHeal extends TreeMapWithStages {
5151
import tpd._
5252

5353
private val InAnnotation = Property.Key[Unit]()
@@ -256,7 +256,7 @@ class PCPCheckAndHeal extends TreeMapWithStages with Checking {
256256
tag.tpe match
257257

258258
case tp: TermRef =>
259-
checkStable(tp, pos, "type witness")
259+
ctx.typer.checkStable(tp, pos, "type witness")
260260
getQuoteTypeTags.getTagRef(tp)
261261
case _: SearchFailureType =>
262262
report.error(

0 commit comments

Comments
 (0)