diff options
author | Martin Odersky <odersky@gmail.com> | 2016-12-12 13:05:32 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-12-12 13:05:32 +0100 |
commit | e7e51781b4b6f2be3a4d79d2edd87f732dc8b8a9 (patch) | |
tree | 181f2560c358c27af7d9571c3b48d434b9f55319 /compiler | |
parent | e31a4856f1c35b889b775608836f7d6a6a4262d6 (diff) | |
download | dotty-e7e51781b4b6f2be3a4d79d2edd87f732dc8b8a9.tar.gz dotty-e7e51781b4b6f2be3a4d79d2edd87f732dc8b8a9.tar.bz2 dotty-e7e51781b4b6f2be3a4d79d2edd87f732dc8b8a9.zip |
Drop "Dotty deviation" messages that are no longer applicable.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/src/dotty/tools/dotc/config/PathResolver.scala | 2 | ||||
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/Types.scala | 2 | ||||
-rw-r--r-- | compiler/src/dotty/tools/dotc/typer/Typer.scala | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/src/dotty/tools/dotc/config/PathResolver.scala b/compiler/src/dotty/tools/dotc/config/PathResolver.scala index a98fc8110..8df9a8c0e 100644 --- a/compiler/src/dotty/tools/dotc/config/PathResolver.scala +++ b/compiler/src/dotty/tools/dotc/config/PathResolver.scala @@ -143,7 +143,7 @@ object PathResolver { println(Defaults) } else { - implicit val ctx = (new ContextBase).initialCtx // Dotty deviation: implicits need explicit type + implicit val ctx = (new ContextBase).initialCtx val ArgsSummary(sstate, rest, errors) = ctx.settings.processArguments(args.toList, true) errors.foreach(println) diff --git a/compiler/src/dotty/tools/dotc/core/Types.scala b/compiler/src/dotty/tools/dotc/core/Types.scala index 36139b1d8..4dffc4542 100644 --- a/compiler/src/dotty/tools/dotc/core/Types.scala +++ b/compiler/src/dotty/tools/dotc/core/Types.scala @@ -3378,7 +3378,7 @@ object Types { /** Map this function over given type */ def mapOver(tp: Type): Type = { - implicit val ctx = this.ctx // Dotty deviation: implicits need explicit type + implicit val ctx = this.ctx tp match { case tp: NamedType => if (stopAtStatic && tp.symbol.isStatic) tp diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala index ae6b719e4..4ce70c6af 100644 --- a/compiler/src/dotty/tools/dotc/typer/Typer.scala +++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala @@ -1638,7 +1638,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit tryInsertImplicitOnQualifier(tree, pt).getOrElse(fallBack) if (isApplyProto(pt)) tryImplicit - else tryEither(tryApply(_))((_, _) => tryImplicit) + else tryEither(tryApply(_))((_, _) => tryImplicit) } /** If this tree is a select node `qual.name`, try to insert an implicit conversion |