Skip to content

Commit 9b78ef9

Browse files
Update compiler/src/dotty/tools/dotc/typer/Checking.scala
Co-Authored-By: Jamie Thompson <bishbashboshjt@gmail.com>
1 parent 89672bf commit 9b78ef9

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
@@ -657,7 +657,7 @@ object Checking {
657657
(p1, p2) <- params.lazyZip(sym2.paramSymss.flatten)
658658
if p1.is(Inline) && !p2.is(Inline)
659659
do
660-
ctx.error("Cannot override non-inline parameter with and inline parameter", p1.sourcePos)
660+
ctx.error("Cannot override non-inline parameter with an inline parameter", p1.sourcePos)
661661

662662
}
663663

0 commit comments

Comments
 (0)