Skip to content

Commit e2db292

Browse files
Remove extra .
1 parent b6142d2 commit e2db292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Checking.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ object Checking {
493493
if (param.is(Mutable))
494494
ctx.error(ValueClassParameterMayNotBeAVar(clazz, param), param.pos)
495495
if (param.info.isPhantom)
496-
ctx.error("value class first parameter must not be phantom.", param.pos)
496+
ctx.error("value class first parameter must not be phantom", param.pos)
497497
else {
498498
for (p <- params if !p.info.isPhantom)
499499
ctx.error("value class can only have one non phantom parameter", p.pos)

0 commit comments

Comments
 (0)