Skip to content

Commit b7aeb2b

Browse files
committed
Rename Implied -> Delegate
Todo: Should do the same in Tasty reflect
1 parent dbcb45c commit b7aeb2b

31 files changed

+126
-147
lines changed

compiler/src/dotty/tools/dotc/ast/Desugar.scala

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ object desugar {
174174
vparamss = (setterParam :: Nil) :: Nil,
175175
tpt = TypeTree(defn.UnitType),
176176
rhs = setterRhs
177-
).withMods((mods | Accessor) &~ (CaseAccessor | ImplicitOrGiven | Lazy))
177+
).withMods((mods | Accessor) &~ (CaseAccessor | GivenOrImplicit | Lazy))
178178
Thicket(vdef, setter)
179179
}
180180
else vdef
@@ -323,7 +323,7 @@ object desugar {
323323
meth
324324
case evidenceParams =>
325325
val vparamss1 = meth.vparamss.reverse match {
326-
case (vparams @ (vparam :: _)) :: rvparamss if vparam.mods.isOneOf(ImplicitOrGiven) =>
326+
case (vparams @ (vparam :: _)) :: rvparamss if vparam.mods.isOneOf(GivenOrImplicit) =>
327327
((evidenceParams ++ vparams) :: rvparamss).reverse
328328
case _ =>
329329
meth.vparamss :+ evidenceParams
@@ -334,7 +334,7 @@ object desugar {
334334
/** The implicit evidence parameters of `meth`, as generated by `desugar.defDef` */
335335
private def evidenceParams(meth: DefDef)(implicit ctx: Context): List[ValDef] =
336336
meth.vparamss.reverse match {
337-
case (vparams @ (vparam :: _)) :: _ if vparam.mods.isOneOf(ImplicitOrGiven) =>
337+
case (vparams @ (vparam :: _)) :: _ if vparam.mods.isOneOf(GivenOrImplicit) =>
338338
vparams.dropWhile(!_.name.is(EvidenceParamName))
339339
case _ =>
340340
Nil
@@ -345,7 +345,7 @@ object desugar {
345345
private def toDefParam(tparam: TypeDef): TypeDef =
346346
tparam.withMods(tparam.rawMods & EmptyFlags | Param)
347347
private def toDefParam(vparam: ValDef): ValDef =
348-
vparam.withMods(vparam.rawMods & (ImplicitOrGiven | Erased) | Param)
348+
vparam.withMods(vparam.rawMods & (GivenOrImplicit | Erased) | Param)
349349

350350
/** The expansion of a class definition. See inline comments for what is involved */
351351
def classDef(cdef: TypeDef)(implicit ctx: Context): Tree = {
@@ -413,7 +413,7 @@ object desugar {
413413
if (isCaseClass && originalTparams.isEmpty)
414414
ctx.error(CaseClassMissingParamList(cdef), namePos)
415415
ListOfNil
416-
} else if (isCaseClass && originalVparamss.head.exists(_.mods.isOneOf(ImplicitOrGiven))) {
416+
} else if (isCaseClass && originalVparamss.head.exists(_.mods.isOneOf(GivenOrImplicit))) {
417417
ctx.error("Case classes should have a non-implicit parameter list", namePos)
418418
ListOfNil
419419
}
@@ -444,7 +444,7 @@ object desugar {
444444
if (enumCases.isEmpty)
445445
ctx.error("Enumerations must constain at least one case", namePos)
446446
val enumCompanionRef = new TermRefTree()
447-
val enumImport = Import(importImplied = false, enumCompanionRef, enumCases.flatMap(caseIds))
447+
val enumImport = Import(importDelegate = false, enumCompanionRef, enumCases.flatMap(caseIds))
448448
(enumImport :: enumStats, enumCases, enumCompanionRef)
449449
}
450450
else (stats, Nil, EmptyTree)
@@ -508,7 +508,7 @@ object desugar {
508508
// new C[Ts](paramss)
509509
lazy val creatorExpr = {
510510
val vparamss = constrVparamss match {
511-
case (vparam :: _) :: _ if vparam.mods.isOneOf(ImplicitOrGiven) => // add a leading () to match class parameters
511+
case (vparam :: _) :: _ if vparam.mods.isOneOf(GivenOrImplicit) => // add a leading () to match class parameters
512512
Nil :: constrVparamss
513513
case _ =>
514514
constrVparamss
@@ -703,7 +703,7 @@ object desugar {
703703
// synthetic implicit C[Ts](p11: T11, ..., p1N: T1N) ... (pM1: TM1, ..., pMN: TMN): C[Ts] =
704704
// new C[Ts](p11, ..., p1N) ... (pM1, ..., pMN) =
705705
val implicitWrappers =
706-
if (!mods.isOneOf(ImplicitOrImplied))
706+
if (!mods.isOneOf(DelegateOrImplicit))
707707
Nil
708708
else if (ctx.owner.is(Package)) {
709709
ctx.error(TopLevelImplicitClass(cdef), cdef.sourcePos)
@@ -717,7 +717,7 @@ object desugar {
717717
ctx.error(ImplicitCaseClass(cdef), cdef.sourcePos)
718718
Nil
719719
}
720-
else if (arity != 1 && !mods.is(Implied)) {
720+
else if (arity != 1 && !mods.is(Delegate)) {
721721
ctx.error(ImplicitClassPrimaryConstructorArity(), cdef.sourcePos)
722722
Nil
723723
}
@@ -731,7 +731,7 @@ object desugar {
731731
// implicit wrapper is typechecked in same scope as constructor, so
732732
// we can reuse the constructor parameters; no derived params are needed.
733733
DefDef(className.toTermName, constrTparams, defParamss, classTypeRef, creatorExpr)
734-
.withMods(companionMods | mods.flags.toTermFlags & ImplicitOrImplied | Synthetic | Final)
734+
.withMods(companionMods | mods.flags.toTermFlags & DelegateOrImplicit | Synthetic | Final)
735735
.withSpan(cdef.span) :: Nil
736736
}
737737

@@ -1109,8 +1109,8 @@ object desugar {
11091109
def needsObject(stat: Tree) = stat match {
11101110
case _: ValDef | _: PatDef | _: DefDef | _: Export => true
11111111
case stat: ModuleDef =>
1112-
stat.mods.isOneOf(ImplicitOrImplied) || opaqueNames.contains(stat.name.stripModuleClassSuffix.toTypeName)
1113-
case stat: TypeDef => !stat.isClassDef || stat.mods.isOneOf(ImplicitOrImplied)
1112+
stat.mods.isOneOf(DelegateOrImplicit) || opaqueNames.contains(stat.name.stripModuleClassSuffix.toTypeName)
1113+
case stat: TypeDef => !stat.isClassDef || stat.mods.isOneOf(DelegateOrImplicit)
11141114
case _ => false
11151115
}
11161116
val (nestedStats, topStats) = pdef.stats.partition(needsObject)

compiler/src/dotty/tools/dotc/ast/TreeInfo.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ object TreeInfo {
872872
/** The expression has no side effects */
873873
val Pure: PurityLevel = new PurityLevel(3)
874874

875-
/** Running the expression a second time has no side effects. Implied by `Pure`. */
875+
/** Running the expression a second time has no side effects. Delegate by `Pure`. */
876876
val Idempotent: PurityLevel = new PurityLevel(1)
877877

878878
val Impure: PurityLevel = new PurityLevel(0)

compiler/src/dotty/tools/dotc/ast/Trees.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ object Trees {
750750
def unforced: LazyTree = preRhs
751751
protected def force(x: AnyRef): Unit = preRhs = x
752752

753-
override def disableOverlapChecks = rawMods.is(Implied)
753+
override def disableOverlapChecks = rawMods.is(Delegate)
754754
// disable order checks for implicit aliases since their given clause follows
755755
// their for clause, but the two appear swapped in the DefDef.
756756
}
@@ -801,7 +801,7 @@ object Trees {
801801
* where a selector is either an untyped `Ident`, `name` or
802802
* an untyped thicket consisting of `name` and `rename`.
803803
*/
804-
case class Import[-T >: Untyped] private[ast] (importImplied: Boolean, expr: Tree[T], selectors: List[Tree[Untyped]])(implicit @constructorOnly src: SourceFile)
804+
case class Import[-T >: Untyped] private[ast] (importDelegate: Boolean, expr: Tree[T], selectors: List[Tree[Untyped]])(implicit @constructorOnly src: SourceFile)
805805
extends DenotingTree[T] {
806806
type ThisTree[-T >: Untyped] = Import[T]
807807
}
@@ -1200,9 +1200,9 @@ object Trees {
12001200
case tree: Template if (constr eq tree.constr) && (parents eq tree.parents) && (derived eq tree.derived) && (self eq tree.self) && (body eq tree.unforcedBody) => tree
12011201
case tree => finalize(tree, untpd.Template(constr, parents, derived, self, body)(sourceFile(tree)))
12021202
}
1203-
def Import(tree: Tree)(importImplied: Boolean, expr: Tree, selectors: List[untpd.Tree])(implicit ctx: Context): Import = tree match {
1204-
case tree: Import if (importImplied == tree.importImplied) && (expr eq tree.expr) && (selectors eq tree.selectors) => tree
1205-
case _ => finalize(tree, untpd.Import(importImplied, expr, selectors)(sourceFile(tree)))
1203+
def Import(tree: Tree)(importDelegate: Boolean, expr: Tree, selectors: List[untpd.Tree])(implicit ctx: Context): Import = tree match {
1204+
case tree: Import if (importDelegate == tree.importDelegate) && (expr eq tree.expr) && (selectors eq tree.selectors) => tree
1205+
case _ => finalize(tree, untpd.Import(importDelegate, expr, selectors)(sourceFile(tree)))
12061206
}
12071207
def PackageDef(tree: Tree)(pid: RefTree, stats: List[Tree])(implicit ctx: Context): PackageDef = tree match {
12081208
case tree: PackageDef if (pid eq tree.pid) && (stats eq tree.stats) => tree
@@ -1343,8 +1343,8 @@ object Trees {
13431343
cpy.TypeDef(tree)(name, transform(rhs))
13441344
case tree @ Template(constr, parents, self, _) if tree.derived.isEmpty =>
13451345
cpy.Template(tree)(transformSub(constr), transform(tree.parents), Nil, transformSub(self), transformStats(tree.body))
1346-
case Import(importImplied, expr, selectors) =>
1347-
cpy.Import(tree)(importImplied, transform(expr), selectors)
1346+
case Import(importDelegate, expr, selectors) =>
1347+
cpy.Import(tree)(importDelegate, transform(expr), selectors)
13481348
case PackageDef(pid, stats) =>
13491349
cpy.PackageDef(tree)(transformSub(pid), transformStats(stats)(localCtx))
13501350
case Annotated(arg, annot) =>

compiler/src/dotty/tools/dotc/ast/tpd.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
333333
Block(cdef :: Nil, New(cls.typeRef, Nil))
334334
}
335335

336-
def Import(importImplied: Boolean, expr: Tree, selectors: List[untpd.Tree])(implicit ctx: Context): Import =
337-
ta.assignType(untpd.Import(importImplied, expr, selectors), ctx.newImportSymbol(ctx.owner, expr))
336+
def Import(importDelegate: Boolean, expr: Tree, selectors: List[untpd.Tree])(implicit ctx: Context): Import =
337+
ta.assignType(untpd.Import(importDelegate, expr, selectors), ctx.newImportSymbol(ctx.owner, expr))
338338

339339
def PackageDef(pid: RefTree, stats: List[Tree])(implicit ctx: Context): PackageDef =
340340
ta.assignType(untpd.PackageDef(pid, stats), pid)

compiler/src/dotty/tools/dotc/ast/untpd.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
167167

168168
case class Inline()(implicit @constructorOnly src: SourceFile) extends Mod(Flags.Inline)
169169

170-
case class Implied()(implicit @constructorOnly src: SourceFile) extends Mod(Flags.Implied)
170+
case class Delegate()(implicit @constructorOnly src: SourceFile) extends Mod(Flags.Delegate)
171171
}
172172

173173
/** Modifiers and annotations for definitions
@@ -345,7 +345,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
345345
def Template(constr: DefDef, parents: List[Tree], derived: List[Tree], self: ValDef, body: LazyTreeList)(implicit src: SourceFile): Template =
346346
if (derived.isEmpty) new Template(constr, parents, self, body)
347347
else new DerivingTemplate(constr, parents ++ derived, self, body, derived.length)
348-
def Import(importImplied: Boolean, expr: Tree, selectors: List[Tree])(implicit src: SourceFile): Import = new Import(importImplied, expr, selectors)
348+
def Import(importDelegate: Boolean, expr: Tree, selectors: List[Tree])(implicit src: SourceFile): Import = new Import(importDelegate, expr, selectors)
349349
def PackageDef(pid: RefTree, stats: List[Tree])(implicit src: SourceFile): PackageDef = new PackageDef(pid, stats)
350350
def Annotated(arg: Tree, annot: Tree)(implicit src: SourceFile): Annotated = new Annotated(arg, annot)
351351

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import Scopes._
1313
import Uniques._
1414
import ast.Trees._
1515
import ast.untpd
16-
import Flags.ImplicitOrImpliedOrGiven
16+
import Flags.DelegateOrGivenOrImplicit
1717
import util.{FreshNameCreator, NoSource, SimpleIdentityMap, SourceFile}
1818
import typer.{Implicits, ImportInfo, Inliner, NamerContextOps, SearchHistory, SearchRoot, TypeAssigner, Typer}
1919
import Implicits.ContextualImplicits
@@ -214,7 +214,7 @@ object Contexts {
214214
implicitsCache = {
215215
val implicitRefs: List[ImplicitRef] =
216216
if (isClassDefContext)
217-
try owner.thisType.implicitMembers(ImplicitOrImpliedOrGiven)
217+
try owner.thisType.implicitMembers(DelegateOrGivenOrImplicit)
218218
catch {
219219
case ex: CyclicReference => Nil
220220
}
@@ -404,7 +404,7 @@ object Contexts {
404404
case _ => None
405405
}
406406
ctx.fresh.setImportInfo(
407-
new ImportInfo(implicit ctx => sym, imp.selectors, impNameOpt, imp.importImplied))
407+
new ImportInfo(implicit ctx => sym, imp.selectors, impNameOpt, imp.importDelegate))
408408
}
409409

410410
/** Does current phase use an erased types interpretation? */

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

Lines changed: 21 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ object Flags {
344344
/** Symbol is a Java default method */
345345
val (_, DefaultMethod @ _, _) = newFlags(38, "<defaultmethod>")
346346

347-
val (Implied @ _, _, _) = newFlags(39, "delegate")
347+
val (Delegate @ _, _, _) = newFlags(39, "delegate")
348348

349349
/** Symbol is an enum class or enum case (if used with case) */
350350
val (Enum @ _, _, _) = newFlags(40, "<enum>")
@@ -427,7 +427,7 @@ object Flags {
427427

428428
/** Flags representing source modifiers */
429429
private val CommonSourceModifierFlags: FlagSet =
430-
commonFlags(Private, Protected, Final, Case, Implicit, Implied, Given, Override, JavaStatic)
430+
commonFlags(Private, Protected, Final, Case, Implicit, Delegate, Given, Override, JavaStatic)
431431

432432
val TypeSourceModifierFlags: FlagSet =
433433
CommonSourceModifierFlags.toTypeFlags | Abstract | Sealed | Opaque
@@ -449,7 +449,7 @@ object Flags {
449449
HigherKinded, Param, ParamAccessor,
450450
Scala2ExistentialCommon, Mutable, Opaque, Touched, JavaStatic,
451451
OuterOrCovariant, LabelOrContravariant, CaseAccessor,
452-
Extension, NonMember, Implicit, Given, Implied, Permanent, Synthetic,
452+
Extension, NonMember, Implicit, Given, Delegate, Permanent, Synthetic,
453453
SuperAccessorOrScala2x, Inline)
454454

455455
/** Flags that are not (re)set when completing the denotation, or, if symbol is
@@ -508,14 +508,14 @@ object Flags {
508508

509509
/** Flags that can apply to a module val */
510510
val RetainedModuleValFlags: FlagSet = RetainedModuleValAndClassFlags |
511-
Override | Final | Method | Implicit | Implied | Lazy |
511+
Override | Final | Method | Implicit | Delegate | Lazy |
512512
Accessor | AbsOverride | StableRealizable | Captured | Synchronized | Erased
513513

514514
/** Flags that can apply to a module class */
515515
val RetainedModuleClassFlags: FlagSet = RetainedModuleValAndClassFlags | Enum
516516

517517
/** Flags retained in export forwarders */
518-
val RetainedExportFlags = ImplicitOrImpliedOrGiven | Extension
518+
val RetainedExportFlags = Delegate | Given | Implicit | Extension
519519

520520
// ------- Other flag sets -------------------------------------
521521

@@ -533,68 +533,47 @@ object Flags {
533533

534534
val MethodOrModule: FlagSet = Method | Module
535535

536-
/** Either method or lazy or deferred */
537536
val MethodOrLazyOrDeferred: FlagSet = Deferred | Lazy | Method
538537

539-
/** An inline method or inline argument proxy */
540-
val InlineOrProxy: FlagSet = Inline | InlineProxy
541538

542-
val ImplicitOrImplied: FlagSet = Implicit | Implied
543-
val ImplicitOrImpliedOrGiven: FlagSet = Given | Implicit | Implied
544-
val ImplicitOrGiven: FlagSet = Given | Implicit
539+
val InlineOrProxy: FlagSet = Inline | InlineProxy // An inline method or inline argument proxy */
545540

546-
val ImpliedOrGiven: FlagSet = Implied | Given
541+
val DelegateOrGiven: FlagSet = Delegate | Given
542+
val DelegateOrGivenOrImplicit: FlagSet = Delegate | Given | Implicit
543+
val DelegateOrGivenOrImplicitVal: FlagSet = DelegateOrGivenOrImplicit.toTermFlags
544+
val DelegateOrImplicit: FlagSet = Delegate | Implicit
545+
val GivenOrImplicit: FlagSet = Given | Implicit
547546

548-
val ImplicitOrImpliedOrGivenTerm = ImplicitOrImpliedOrGiven.toTermFlags
547+
val StableOrErased: FlagSet = Erased | StableRealizable // Assumed to be pure
548+
val EffectivelyFinalFlags: FlagSet = Final | Private
549549

550+
val PrivateMethod: FlagSet = Method | Private
550551

551-
/** Assumed to be pure */
552-
val StableOrErased: FlagSet = StableRealizable | Erased
552+
val PrivateAccessor: FlagSet = Accessor | Private
553553

554-
/** Labeled `private`, or `final` */
555-
val EffectivelyFinalFlags: FlagSet = Private | Final
556-
557-
/** A private method */
558-
val PrivateMethod: FlagSet = Private | Method
559-
560-
/** A private accessor */
561-
val PrivateAccessor: FlagSet = Private | Accessor
562-
563-
/** An inline method */
564554
val InlineMethod: FlagSet = Inline | Method
565555

566-
/** An inline by-name parameter proxy */
567556
val InlineByNameProxy: FlagSet = InlineProxy | Method
568557

569-
/** An inline parameter */
570558
val InlineParam: FlagSet = Inline | Param
571559

572-
/** An extension method */
573560
val ExtensionMethod: FlagSet = Extension | Method
574561

575-
/** An implied method */
576-
val SyntheticImpliedMethod: FlagSet = Synthetic | Implied | Method
562+
val SyntheticDelegateMethod: FlagSet = Delegate | Method | Synthetic
577563

578-
/** An enum case */
579-
val EnumCase: FlagSet = Enum | Case
564+
val EnumCase: FlagSet = Case | Enum
580565

581-
/** A term parameter or parameter accessor */
582566
val TermParamOrAccessor: FlagSet = Param | ParamAccessor
583567

584-
/** A lazy or deferred value */
585-
val LazyOrDeferred: FlagSet = Lazy | Deferred
568+
val LazyOrDeferred: FlagSet = Deferred | Lazy
586569

587-
/** An accessor or a synthetic symbol */
588570
val AccessorOrSynthetic: FlagSet = Accessor | Synthetic
589571

590-
/** A synthetic or private definition */
591-
val SyntheticOrPrivate: FlagSet = Synthetic | Private
572+
val SyntheticOrPrivate: FlagSet = Private | Synthetic
592573

593-
/** A deferred term member or a parameter or parameter accessor (these don't have right hand sides) */
594-
val DeferredOrTermParamOrAccessor: FlagSet = Deferred | TermParam | ParamAccessor
574+
val DeferredOrTermParamOrAccessor: FlagSet = Deferred | ParamAccessor | TermParam // term symbols without right-hand sides
595575

596-
/** A deferred type member or parameter (these don't have right hand sides) */
597-
val DeferredOrTypeParam: FlagSet = Deferred | TypeParam
576+
val DeferredOrTypeParam: FlagSet = Deferred | TypeParam // type symbols without right-hand sides
598577

599578
/** value that's final or inline */
600579
val FinalOrInline: FlagSet = Final | Inline

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ object Scopes {
409409
var irefs = new mutable.ListBuffer[TermRef]
410410
var e = lastEntry
411411
while (e ne null) {
412-
if (e.sym.isOneOf(ImplicitOrImpliedOrGiven)) {
412+
if (e.sym.isOneOf(DelegateOrGivenOrImplicit)) {
413413
val d = e.sym.denot
414414
irefs += TermRef(NoPrefix, d.symbol.asTerm).withDenot(d)
415415
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ object SymDenotations {
19431943
if (keepOnly eq implicitFilter)
19441944
if (this.is(Package)) Iterator.empty
19451945
// implicits in package objects are added by the overriding `memberNames` in `PackageClassDenotation`
1946-
else info.decls.iterator.filter(_.isOneOf(ImplicitOrImpliedOrGiven))
1946+
else info.decls.iterator.filter(_.isOneOf(DelegateOrGivenOrImplicit))
19471947
else info.decls.iterator
19481948
for (sym <- ownSyms) maybeAdd(sym.name)
19491949
names

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class CyclicReference private (val denot: SymDenotation) extends TypeError {
142142
}
143143
}
144144
// Give up and give generic errors.
145-
else if (cycleSym.isOneOf(ImplicitOrImpliedOrGiven, butNot = Method) && cycleSym.owner.isTerm)
145+
else if (cycleSym.isOneOf(DelegateOrGivenOrImplicit, butNot = Method) && cycleSym.owner.isTerm)
146146
CyclicReferenceInvolvingImplicit(cycleSym)
147147
else
148148
CyclicReferenceInvolving(denot)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,12 +787,12 @@ object Types {
787787
}
788788

789789
/** The set of implicit term members of this type
790-
* @param kind A subset of {Implicit, Implied} that specifies what kind of implicit should
790+
* @param kind A subset of {Implicit, Delegate} that specifies what kind of implicit should
791791
* be returned
792792
*/
793793
final def implicitMembers(kind: FlagSet)(implicit ctx: Context): List[TermRef] = track("implicitMembers") {
794794
memberDenots(implicitFilter,
795-
(name, buf) => buf ++= member(name).altsWith(_.isOneOf(ImplicitOrImpliedOrGivenTerm & kind)))
795+
(name, buf) => buf ++= member(name).altsWith(_.isOneOf(DelegateOrGivenOrImplicitVal & kind)))
796796
.toList.map(d => TermRef(this, d.symbol.asTerm))
797797
}
798798

0 commit comments

Comments
 (0)