Skip to content

Commit 311b726

Browse files
oderskysmarter
andauthored
Update compiler/src/dotty/tools/dotc/typer/Typer.scala
Co-Authored-By: Guillaume Martres <[email protected]>
1 parent 8a725f3 commit 311b726

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
@@ -2422,7 +2422,7 @@ class Typer extends Namer
24222422
readaptSimplified(tree.withType(alt))
24232423
case Nil =>
24242424
// If alternative matches, there are still two ways to recover:
2425-
// 1. If context is an application, try to insert and apply or implicit
2425+
// 1. If context is an application, try to insert an apply or implicit
24262426
// 2. If context is not an application, pick a alternative that does
24272427
// not take parameters.
24282428
def noMatches =

0 commit comments

Comments
 (0)