Skip to content

Commit a716701

Browse files
committed
Fix typo
1 parent 3408f4e commit a716701

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,13 @@ class PCPCheckAndHeal(@constructorOnly ictx: Context) extends TreeMapWithStages(
230230
checkStable(tp, pos, "type witness")
231231
getQuoteTypeTags.getTagRef(tp)
232232
case _: SearchFailureType =>
233-
report.error(i"""Reference to $tp withing quotes requires a $reqType in scope.
233+
report.error(i"""Reference to $tp within quotes requires a given $reqType in scope.
234234
|${ctx.typer.missingArgMsg(tag, reqType, "")}
235235
|
236236
|""", pos)
237237
tp
238238
case _ =>
239-
report.error(i"""Reference to $tp withing quotes requires a $reqType in scope.
239+
report.error(i"""Reference to $tp within quotes requires a given $reqType in scope.
240240
|
241241
|""", pos)
242242
tp

0 commit comments

Comments
 (0)