File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1307,8 +1307,6 @@ trait Implicits { self: Typer =>
13071307 else implicitScope(wildProto).eligible
13081308 searchImplicits(eligible, contextual) match {
13091309 case result : SearchSuccess =>
1310- if (contextual && ctx.mode.is(Mode .InlineableBody ))
1311- PrepareInlineable .markContextualImplicit(result.tree)
13121310 result
13131311 case failure : SearchFailure =>
13141312 failure.reason match {
Original file line number Diff line number Diff line change @@ -24,16 +24,6 @@ import dotty.tools.dotc.transform.TreeMapWithStages._
2424object PrepareInlineable {
2525 import tpd ._
2626
27- /** Marks an implicit reference found in the context (as opposed to the implicit scope)
28- * from an inlineable body. Such references will be carried along with the body to
29- * the expansion site.
30- */
31- private val ContextualImplicit = new Property .StickyKey [Unit ]
32-
33- def markContextualImplicit (tree : Tree )(implicit ctx : Context ): Unit =
34- if (! defn.ScalaPredefModule .moduleClass.derivesFrom(tree.symbol.maybeOwner))
35- methPart(tree).putAttachment(ContextualImplicit , ())
36-
3727 class InlineAccessors extends AccessProxies {
3828
3929 /** If an inline accessor name wraps a unique inline name, this is taken as indication
You can’t perform that action at this time.
0 commit comments