We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40af028 commit 9568ebaCopy full SHA for 9568eba
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -1646,7 +1646,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
1646
* 0th strategy: If `tree` overrides a nullary method, mark the prototype
1647
* so that the argument is dropped and return `tree` itself.
1648
*
1649
- * After that, two strategies are tried, and the firs that is successful is picked.
+ * After that, two strategies are tried, and the first that is successful is picked.
1650
* If neither of the strategies are successful, continues with`fallBack`.
1651
1652
* 1st strategy: Try to insert `.apply` so that the result conforms to prototype `pt`.
0 commit comments