summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/internal/Flags.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-12-30 11:14:53 -0800
committerPaul Phillips <paulp@improving.org>2011-12-30 11:19:06 -0800
commit30028483272e4401e04fabc85fe645995eb7bc02 (patch)
tree8250adc625cc9784bcbf1cf314b3e0c61712dabe /src/compiler/scala/reflect/internal/Flags.scala
parentd323f2f8d631404f10887d73e075e56a3fffc755 (diff)
downloadscala-30028483272e4401e04fabc85fe645995eb7bc02.tar.gz
scala-30028483272e4401e04fabc85fe645995eb7bc02.tar.bz2
scala-30028483272e4401e04fabc85fe645995eb7bc02.zip
Created VariantTypeMap.
Noticed most TypeMaps ignore variance but perform all the variance bookkeeping regardless. Made it so only variant TypeMaps pay that cost. Also lent some organization to the one place making real use of VariantTypeMap, existentialAbstraction.
Diffstat (limited to 'src/compiler/scala/reflect/internal/Flags.scala')
-rw-r--r--src/compiler/scala/reflect/internal/Flags.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/reflect/internal/Flags.scala b/src/compiler/scala/reflect/internal/Flags.scala
index f7a7064265..9e4f0431c3 100644
--- a/src/compiler/scala/reflect/internal/Flags.scala
+++ b/src/compiler/scala/reflect/internal/Flags.scala
@@ -226,6 +226,7 @@ class Flags extends ModifierFlags {
/** The two bridge flags */
final val BridgeFlags = BRIDGE | VBRIDGE
+ final val BridgeAndPrivateFlags = BridgeFlags | PRIVATE
/** When a symbol for a field is created, only these flags survive
* from Modifiers. Others which may be applied at creation time are: