diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-25 12:49:37 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-25 12:49:37 +0100 |
commit | 94e2c9413def4c6545cfe38ed7b8a5b44bdd6456 (patch) | |
tree | 0b26b3763804acc72a2304e3fabe63159670266c /src/dotty/tools/dotc/core/Symbols.scala | |
parent | 6e37f2e4e153109125493c6c82c0ea0eb9800422 (diff) | |
download | dotty-94e2c9413def4c6545cfe38ed7b8a5b44bdd6456.tar.gz dotty-94e2c9413def4c6545cfe38ed7b8a5b44bdd6456.tar.bz2 dotty-94e2c9413def4c6545cfe38ed7b8a5b44bdd6456.zip |
Completed implementation of Flags
Including translation from Scala 2.x flags.
Diffstat (limited to 'src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Symbols.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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, |