diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-04-14 14:39:44 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-05-06 16:18:45 +0200 |
commit | ffe0131a4fb464a49bb6799c4e7fcafc4603f609 (patch) | |
tree | f61fc858485724ac64c369a883236e80ffa81e3b /src | |
parent | 0b585c662a1422914e549c142521cab46ccd2cb9 (diff) | |
download | dotty-ffe0131a4fb464a49bb6799c4e7fcafc4603f609.tar.gz dotty-ffe0131a4fb464a49bb6799c4e7fcafc4603f609.tar.bz2 dotty-ffe0131a4fb464a49bb6799c4e7fcafc4603f609.zip |
Helper method to get all members of type.
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index 66f027915..5ce13ad55 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -427,7 +427,7 @@ object Types { Set() } - private def memberDenots(keepOnly: NameFilter, f: (Name, mutable.Buffer[SingleDenotation]) => Unit)(implicit ctx: Context): Seq[SingleDenotation] = { + def memberDenots(keepOnly: NameFilter, f: (Name, mutable.Buffer[SingleDenotation]) => Unit)(implicit ctx: Context): Seq[SingleDenotation] = { val buf = mutable.ArrayBuffer[SingleDenotation]() for (name <- memberNames(keepOnly)) f(name, buf) buf |