Skip to content

Commit dc7be2b

Browse files
committed
udpate error message
1 parent f180e03 commit dc7be2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/quoted/QuotePatterns.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ object QuotePatterns:
8989
for (typearg <- tree.typeargs) // case (1)
9090
do
9191
if !typevars.contains(typearg.symbol) then
92-
report.error("Type arguments of a hoas pattern needs to be introduced in the quoted pattern", typearg.srcPos)
92+
report.error("Type arguments of a hoas pattern needs to be defined inside the quoted pattern", typearg.srcPos)
9393
for (arg <- tree.args) // case (2)
9494
do
9595
if !uncapturedTypeVars(arg, tree.typeargs).isEmpty then

0 commit comments

Comments
 (0)