Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Bovel <matthieu@bovel.net>
  • Loading branch information
odersky and mbovel committed May 8, 2024
1 parent 863077c commit 783b7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/typer/Typer.scala
Expand Up @@ -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.
Expand Down

0 comments on commit 783b7bd

Please sign in to comment.