Skip to content

Commit fd70c61

Browse files
committed
Fix typo in comment
1 parent fd7ba2b commit fd70c61

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
@@ -2159,7 +2159,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
21592159
if (resultMatch || ctx.mode.is(Mode.ImplicitsEnabled)) adaptNoArgsImplicitMethod(wtp)
21602160
else {
21612161
// Don't proceed with implicit search if result type cannot match - the search
2162-
// will likely by under-constrained, which means that an unbounded number of alternatives
2162+
// will likely be under-constrained, which means that an unbounded number of alternatives
21632163
// is tried. See strawman-contrib MapDecoratorTest.scala for an example where this happens.
21642164
err.typeMismatch(tree, pt)
21652165
}

0 commit comments

Comments
 (0)