aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-10 03:01:08 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-10 03:01:08 +0100
commita63c3db753e8dcc0ed9daa3834ac7a01d6748540 (patch)
tree6f757a6832fb4181ca918f2c06b3ae141d30aac6 /src/dotty/tools/dotc
parenta6936756bde8bc081f1a0623c1abd1f12be0a649 (diff)
downloaddotty-a63c3db753e8dcc0ed9daa3834ac7a01d6748540.tar.gz
dotty-a63c3db753e8dcc0ed9daa3834ac7a01d6748540.tar.bz2
dotty-a63c3db753e8dcc0ed9daa3834ac7a01d6748540.zip
Ensure completion before computing non-private members.
Diffstat (limited to 'src/dotty/tools/dotc')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala1
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")