Skip to content

Commit ffe0131

Browse files
committed
Helper method to get all members of type.
1 parent 0b585c6 commit ffe0131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ object Types {
427427
Set()
428428
}
429429

430-
private def memberDenots(keepOnly: NameFilter, f: (Name, mutable.Buffer[SingleDenotation]) => Unit)(implicit ctx: Context): Seq[SingleDenotation] = {
430+
def memberDenots(keepOnly: NameFilter, f: (Name, mutable.Buffer[SingleDenotation]) => Unit)(implicit ctx: Context): Seq[SingleDenotation] = {
431431
val buf = mutable.ArrayBuffer[SingleDenotation]()
432432
for (name <- memberNames(keepOnly)) f(name, buf)
433433
buf

0 commit comments

Comments
 (0)