We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba67e55 commit 5619153Copy full SHA for 5619153
src/dotty/tools/dotc/core/Types.scala
@@ -612,7 +612,7 @@ object Types {
612
/** The set of members of this type having at least one of `requiredFlags` but none of `excludedFlags` set */
613
final def membersBasedOnFlags(requiredFlags: FlagSet, excludedFlags: FlagSet)(implicit ctx: Context): Seq[SingleDenotation] = track("implicitMembers") {
614
memberDenots(takeAllFilter,
615
- (name, buf) => buf ++= member(name).altsWith(x => x.is(requiredFlags, butNot = excludedFlags)))
+ (name, buf) => buf ++= memberExcluding(name, excludedFlags).altsWith(x => x.is(requiredFlags)))
616
}
617
618
/** The info of `sym`, seen as a member of this type. */
0 commit comments