From 66a5c68c68ee8a9f69c08309fc1411db6b5e1e5d Mon Sep 17 00:00:00 2001 From: odersky Date: Tue, 1 Feb 2022 17:53:35 +0100 Subject: [PATCH] Update compiler/src/dotty/tools/dotc/typer/Typer.scala --- compiler/src/dotty/tools/dotc/typer/Typer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala index f16af293fe83..09acde2ac845 100644 --- a/compiler/src/dotty/tools/dotc/typer/Typer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala @@ -1229,7 +1229,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer if pos < mtpe.paramInfos.length then mtpe.paramInfos(pos) // This works only if vararg annotations match up. - // See neg/i14367.scala for an example where the inferred type is mispredicated. + // See neg/i14367.scala for an example where the inferred type is mispredicted. // Nevertheless, the alternative would be to give up completely, so this is // defensible. else NoType