Skip to content

Commit 4742767

Browse files
authored
Merge pull request #13505 from dotty-staging/fix-allmembers
Don't count constructors in allMembers
2 parents 74ebee0 + fa9634c commit 4742767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6090,7 +6090,7 @@ object Types {
60906090
}
60916091

60926092
object takeAllFilter extends NameFilter {
6093-
def apply(pre: Type, name: Name)(using Context): Boolean = true
6093+
def apply(pre: Type, name: Name)(using Context): Boolean = name != nme.CONSTRUCTOR
60946094
def isStable = true
60956095
}
60966096

0 commit comments

Comments
 (0)