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 c1ada60 commit 439b65cCopy full SHA for 439b65c
compiler/src/dotty/tools/dotc/typer/Namer.scala
@@ -274,7 +274,7 @@ class Namer { typer: Typer =>
274
def preExisting = ctx.effectiveScope.lookup(name)
275
if (ctx.owner is PackageClass)
276
if (preExisting.isDefinedInCurrentRun)
277
- errorName(s"${preExisting.showLocated} has already been compiled\nonce during this run")
+ errorName(s"${preExisting.showLocated} has already been compiled once during this run")
278
else name
279
else
280
if ((!ctx.owner.isClass || name.isTypeName) && preExisting.exists)
0 commit comments