diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-10 03:01:08 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-10 03:01:08 +0100 |
commit | a63c3db753e8dcc0ed9daa3834ac7a01d6748540 (patch) | |
tree | 6f757a6832fb4181ca918f2c06b3ae141d30aac6 /src/dotty/tools | |
parent | a6936756bde8bc081f1a0623c1abd1f12be0a649 (diff) | |
download | dotty-a63c3db753e8dcc0ed9daa3834ac7a01d6748540.tar.gz dotty-a63c3db753e8dcc0ed9daa3834ac7a01d6748540.tar.bz2 dotty-a63c3db753e8dcc0ed9daa3834ac7a01d6748540.zip |
Ensure completion before computing non-private members.
Diffstat (limited to 'src/dotty/tools')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 041fe1963..1904fdbb5 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -980,6 +980,7 @@ object SymDenotations { if (!classSymbol.hasChildren || !Config.useFingerPrints || (memberFingerPrint contains name)) { + ensureCompleted() val ownDenots = decls.denotsNamed(name, selectNonPrivate) if (debugTrace) // DEBUG println(s"$this.member($name), ownDenots = $ownDenots") |