Skip to content

Commit 9a644e4

Browse files
committed
Merge branch 'fix-14367' of https://github.com/dotty-staging/dotty into fix-14367
2 parents a696dd2 + 66a5c68 commit 9a644e4

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)