We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d776f commit ee4c245Copy full SHA for ee4c245
compiler/src/dotty/tools/dotc/quoted/QuotePatterns.scala
@@ -89,7 +89,7 @@ object QuotePatterns:
89
for (typearg <- tree.typeargs) // case (1)
90
do
91
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)
+ report.error("Type arguments of a hoas pattern needs to be defined inside the quoted pattern", typearg.srcPos)
93
for (arg <- tree.args) // case (2)
94
95
if !uncapturedTypeVars(arg, tree.typeargs).isEmpty then
0 commit comments