Skip to content

Commit 9568eba

Browse files
committed
Address reviewer comment
1 parent 40af028 commit 9568eba

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
@@ -1646,7 +1646,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
16461646
* 0th strategy: If `tree` overrides a nullary method, mark the prototype
16471647
* so that the argument is dropped and return `tree` itself.
16481648
*
1649-
* After that, two strategies are tried, and the firs that is successful is picked.
1649+
* After that, two strategies are tried, and the first that is successful is picked.
16501650
* If neither of the strategies are successful, continues with`fallBack`.
16511651
*
16521652
* 1st strategy: Try to insert `.apply` so that the result conforms to prototype `pt`.

0 commit comments

Comments
 (0)