Skip to content

Commit 66a5c68

Browse files
authored
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
1 parent 8b8b7a0 commit 66a5c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
12291229
if pos < mtpe.paramInfos.length then
12301230
mtpe.paramInfos(pos)
12311231
// This works only if vararg annotations match up.
1232-
// See neg/i14367.scala for an example where the inferred type is mispredicated.
1232+
// See neg/i14367.scala for an example where the inferred type is mispredicted.
12331233
// Nevertheless, the alternative would be to give up completely, so this is
12341234
// defensible.
12351235
else NoType

0 commit comments

Comments
 (0)