aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Flags.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-05-21 13:44:22 +0200
committerMartin Odersky <odersky@gmail.com>2016-05-23 12:01:40 +0200
commit1f8cf78441d84385734a210b0a5971eae76f46fc (patch)
treeed2b86191d4edc805a054aa0d78b13694517df80 /src/dotty/tools/dotc/core/Flags.scala
parentc793085ff63b8d7a3e9e371ca5bf5da5368ac6be (diff)
downloaddotty-1f8cf78441d84385734a210b0a5971eae76f46fc.tar.gz
dotty-1f8cf78441d84385734a210b0a5971eae76f46fc.tar.bz2
dotty-1f8cf78441d84385734a210b0a5971eae76f46fc.zip
Let createSymbol return a symbol
Compute initialization flags of possibly enclosing traits elsewhere (in indexStats). Cleans up the logic and makes the module more understandable.
Diffstat (limited to 'src/dotty/tools/dotc/core/Flags.scala')
-rw-r--r--src/dotty/tools/dotc/core/Flags.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Flags.scala b/src/dotty/tools/dotc/core/Flags.scala
index f866621f2..cd660aa46 100644
--- a/src/dotty/tools/dotc/core/Flags.scala
+++ b/src/dotty/tools/dotc/core/Flags.scala
@@ -525,6 +525,9 @@ object Flags {
/** Either method or lazy */
final val MethodOrLazy = Method | Lazy
+ /** Either method or lazy or deferred */
+ final val MethodOrLazyOrDeferred = Method | Lazy | Deferred
+
/** Labeled `private` or `final` */
final val PrivateOrFinal = Private | Final