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.
2 parents c6b681c + 90a824b commit ea71b2cCopy full SHA for ea71b2c
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -2920,7 +2920,7 @@ class Typer extends Namer
2920
}
2921
else {
2922
ctx.error(
2923
- """Scala 2 macro cannot be used in Dotty. See https://dotty.epfl.ch/docs/reference/dropped-features/macros.html\n"
+ """Scala 2 macro cannot be used in Dotty. See https://dotty.epfl.ch/docs/reference/dropped-features/macros.html
2924
|To turn this error into a warning, pass -Xignore-scala2-macros to the compiler""".stripMargin, tree.sourcePos.startPos)
2925
tree
2926
0 commit comments