From 783b7bddc3bbbccb2b8e2611e52e17135a600924 Mon Sep 17 00:00:00 2001 From: odersky Date: Wed, 8 May 2024 22:51:44 +0200 Subject: [PATCH] Update compiler/src/dotty/tools/dotc/typer/Typer.scala Co-authored-by: Matt Bovel --- 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 9bf8071ba2f4..ae50d626cb1f 100644 --- a/compiler/src/dotty/tools/dotc/typer/Typer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala @@ -4114,7 +4114,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer */ def issueErrors(fun: Tree, args: List[Tree]): Tree = // Prefer other errors over ambiguities. If nested in outer searches a missing - // implicit can be healed by simply dropping this alternative and tryng something + // implicit can be healed by simply dropping this alternative and trying something // else. But an ambiguity is sticky and propagates outwards. If we have both // a missing implicit on one argument and an ambiguity on another the whole // branch should be classified as a missing implicit.