Skip to content

Commit e7e5178

Browse files
committed
Drop "Dotty deviation" messages that are no longer applicable.
1 parent e31a485 commit e7e5178

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler/src/dotty/tools/dotc/config/PathResolver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ object PathResolver {
143143
println(Defaults)
144144
}
145145
else {
146-
implicit val ctx = (new ContextBase).initialCtx // Dotty deviation: implicits need explicit type
146+
implicit val ctx = (new ContextBase).initialCtx
147147
val ArgsSummary(sstate, rest, errors) =
148148
ctx.settings.processArguments(args.toList, true)
149149
errors.foreach(println)

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3378,7 +3378,7 @@ object Types {
33783378

33793379
/** Map this function over given type */
33803380
def mapOver(tp: Type): Type = {
3381-
implicit val ctx = this.ctx // Dotty deviation: implicits need explicit type
3381+
implicit val ctx = this.ctx
33823382
tp match {
33833383
case tp: NamedType =>
33843384
if (stopAtStatic && tp.symbol.isStatic) tp

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
16381638
tryInsertImplicitOnQualifier(tree, pt).getOrElse(fallBack)
16391639

16401640
if (isApplyProto(pt)) tryImplicit
1641-
else tryEither(tryApply(_))((_, _) => tryImplicit)
1641+
else tryEither(tryApply(_))((_, _) => tryImplicit)
16421642
}
16431643

16441644
/** If this tree is a select node `qual.name`, try to insert an implicit conversion

0 commit comments

Comments
 (0)