From 94e2c9413def4c6545cfe38ed7b8a5b44bdd6456 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 25 Feb 2013 12:49:37 +0100 Subject: Completed implementation of Flags Including translation from Scala 2.x flags. --- src/dotty/tools/dotc/core/Symbols.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dotty/tools/dotc/core/Symbols.scala') diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala index 7e4cb2a69..455be5f14 100644 --- a/src/dotty/tools/dotc/core/Symbols.scala +++ b/src/dotty/tools/dotc/core/Symbols.scala @@ -122,7 +122,7 @@ trait Symbols { this: Context => infoFn(module, modcls), privateWithin) val mdenot = SymDenotation( module, owner, name, - flags & RetainedModuleFlags | ModuleCreationFlags, + flags & RetainedModuleValFlags | ModuleCreationFlags, if (cdenot.isCompleted) modcls.symbolicRef else new LazyModuleInfo(modcls)(condensed)) module.denot = mdenot @@ -133,7 +133,7 @@ trait Symbols { this: Context => /** Create a module symbol with associated module class * from its non-info fields and the fields of the module class info. * @param flags The combined flags of the module and the module class - * These are masked with RetainedModuleFlags/RetainedModuleClassFlags. + * These are masked with RetainedModuleValFlags/RetainedModuleClassFlags. */ def newCompleteModuleSymbol( owner: Symbol, -- cgit v1.2.3