Skip to content

Commit d875c16

Browse files
adamwmichelou
authored andcommitted
QuotesAndSplices: typo in error message
1 parent abd810a commit d875c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ trait QuotesAndSplices {
159159

160160
if ctx.mode.is(Mode.QuotedPattern) && level == 1 then
161161
report.error(
162-
"""`$` for quote pattern varable is not supported anymore.
162+
"""`$` for quote pattern variable is not supported anymore.
163163
|Use lower cased variable name without the `$` instead.""".stripMargin,
164164
tree.srcPos)
165165
ref(defn.NothingType)

0 commit comments

Comments
 (0)