From a63c3db753e8dcc0ed9daa3834ac7a01d6748540 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 10 Jan 2014 03:01:08 +0100 Subject: Ensure completion before computing non-private members. --- src/dotty/tools/dotc/core/SymDenotations.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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") -- cgit v1.2.3