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 f3c1468 commit 5abb82bCopy full SHA for 5abb82b
compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -946,7 +946,7 @@ object desugar {
946
tree.withMods(mods)
947
else if tree.name.startsWith("$") && !tree.isBackquoted then
948
report.error(
949
- """Quoted pattern variable names starting with $ are not suported anymore.
+ """Quoted pattern variable names starting with $ are not supported anymore.
950
|Use lower cases type pattern name instead.
951
|""".stripMargin,
952
tree.srcPos)
0 commit comments