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/SymDenotations.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/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index f9ca96e97..a7ee385d0 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -881,7 +881,7 @@ object SymDenotations { class LazyModuleInfo(val mclass: ClassSymbol)(implicit cctx: CondensedContext) extends LazyType { def complete(denot: SymDenotation): Unit = { val from = denot.moduleClass.denot.asClass - denot.setFlag(from.flags.toTermFlags & RetainedModuleFlags) + denot.setFlag(from.flags.toTermFlags & RetainedModuleValFlags) denot.annotations = from.annotations filter (_.appliesToModule) denot.info = mclass.symbolicRef denot.privateWithin = from.privateWithin |