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 b6142d2 commit e2db292Copy full SHA for e2db292
compiler/src/dotty/tools/dotc/typer/Checking.scala
@@ -493,7 +493,7 @@ object Checking {
493
if (param.is(Mutable))
494
ctx.error(ValueClassParameterMayNotBeAVar(clazz, param), param.pos)
495
if (param.info.isPhantom)
496
- ctx.error("value class first parameter must not be phantom.", param.pos)
+ ctx.error("value class first parameter must not be phantom", param.pos)
497
else {
498
for (p <- params if !p.info.isPhantom)
499
ctx.error("value class can only have one non phantom parameter", p.pos)
0 commit comments