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 cd2ddcc commit 09f0093Copy full SHA for 09f0093
compiler/src/dotty/tools/dotc/typer/Checking.scala
@@ -402,7 +402,7 @@ object Checking {
402
fail(NativeMembersMayNotHaveImplementation(sym))
403
}
404
if (sym.hasAnnotation(defn.CompileTimeOnlyParamAnnot))
405
- ctx.migrationWarning("`@compileTimeOnly(msg)` will be replaced by `scala.compiletime.error(msg)` or `erased`", sym.sourcePos)
+ ctx.migrationWarning("`@compileTimeOnly(msg)` will be replaced by `scala.compiletime.error(msg)`", sym.sourcePos)
406
else if (sym.is(Deferred, butNot = Param) && !sym.isType && !sym.isSelfSym) {
407
if (!sym.owner.isClass || sym.owner.is(Module) || sym.owner.isAnonymousClass)
408
fail(OnlyClassesCanHaveDeclaredButUndefinedMembers(sym))
0 commit comments