From cc14a742c4cf139eea2822eb63a20655a6100e8b Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Mon, 19 Apr 2021 16:36:53 +0200 Subject: [PATCH] QuotesAndSplices: typo in error message --- compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala b/compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala index 18c08bb8a3ad..9d0f5f15de7e 100644 --- a/compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala +++ b/compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala @@ -159,7 +159,7 @@ trait QuotesAndSplices { if ctx.mode.is(Mode.QuotedPattern) && level == 1 then report.error( - """`$` for quote pattern varable is not supported anymore. + """`$` for quote pattern variable is not supported anymore. |Use lower cased variable name without the `$` instead.""".stripMargin, tree.srcPos) ref(defn.NothingType)