diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-21 22:20:05 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-21 22:20:05 +0100 |
commit | 9568eba6de7e881c6003dbfc95e46e6f83fa2e7b (patch) | |
tree | 0e87bafd7f0acbf74bd705c2b9adc6bf04eaa237 /compiler/src/dotty/tools/dotc/typer/Typer.scala | |
parent | 40af028fd2f54cc3399aa2d03f1e7c8c4dd8f006 (diff) | |
download | dotty-9568eba6de7e881c6003dbfc95e46e6f83fa2e7b.tar.gz dotty-9568eba6de7e881c6003dbfc95e46e6f83fa2e7b.tar.bz2 dotty-9568eba6de7e881c6003dbfc95e46e6f83fa2e7b.zip |
Address reviewer comment
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/typer/Typer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala index d054fe803..fe158dfe2 100644 --- a/compiler/src/dotty/tools/dotc/typer/Typer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala @@ -1646,7 +1646,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit * 0th strategy: If `tree` overrides a nullary method, mark the prototype * so that the argument is dropped and return `tree` itself. * - * 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. * If neither of the strategies are successful, continues with`fallBack`. * * 1st strategy: Try to insert `.apply` so that the result conforms to prototype `pt`. |