aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Symbols.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-02-25 12:49:37 +0100
committerMartin Odersky <odersky@gmail.com>2013-02-25 12:49:37 +0100
commit94e2c9413def4c6545cfe38ed7b8a5b44bdd6456 (patch)
tree0b26b3763804acc72a2304e3fabe63159670266c /src/dotty/tools/dotc/core/Symbols.scala
parent6e37f2e4e153109125493c6c82c0ea0eb9800422 (diff)
downloaddotty-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.scala4
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,