@@ -296,7 +296,7 @@ object Flags {
296296 val (_, CaseAccessor @ _, _) = newFlags(25 , " <caseaccessor>" )
297297
298298 /** A Scala 2x super accessor / an unpickled Scala 2.x class */
299- val (SuperAccessorOrScala2x @ _, Scala2SuperAccessor @ _, Scala2x @ _) = newFlags(26 , " <superaccessor >" , " <scala-2.x>" )
299+ val (SuperParamAliasOrScala2x @ _, SuperParamAlias @ _, Scala2x @ _) = newFlags(26 , " <super-param-alias >" , " <scala-2.x>" )
300300
301301 /** A method that has default params */
302302 val (_, DefaultParameterized @ _, _) = newFlags(27 , " <defaultparam>" )
@@ -371,8 +371,9 @@ object Flags {
371371 /** Symbol is a self name */
372372 val (_, SelfName @ _, _) = newFlags(54 , " <selfname>" )
373373
374- /** An existentially bound symbol (Scala 2.x only) */
375- val (Scala2ExistentialCommon @ _, _, Scala2Existential @ _) = newFlags(55 , " <existential>" )
374+ /** A Scala 2 superaccessor (only needed during Scala2Unpickling) /
375+ * an existentially bound symbol (Scala 2.x only) */
376+ val (Scala2SpecialFlags @ _, Scala2SuperAccessor @ _, Scala2Existential @ _) = newFlags(55 , " <existential>" )
376377
377378 /** Children were queried on this class */
378379 val (_, _, ChildrenQueried @ _) = newFlags(56 , " <children-queried>" )
@@ -439,10 +440,10 @@ object Flags {
439440 val FromStartFlags : FlagSet = commonFlags(
440441 Module , Package , Deferred , Method , Case ,
441442 HigherKinded , Param , ParamAccessor ,
442- Scala2ExistentialCommon , MutableOrOpen , Opaque , Touched , JavaStatic ,
443+ Scala2SpecialFlags , MutableOrOpen , Opaque , Touched , JavaStatic ,
443444 OuterOrCovariant , LabelOrContravariant , CaseAccessor ,
444445 Extension , NonMember , Implicit , Given , Permanent , Synthetic ,
445- SuperAccessorOrScala2x , Inline , Macro )
446+ SuperParamAliasOrScala2x , Inline , Macro )
446447
447448 /** Flags that are not (re)set when completing the denotation, or, if symbol is
448449 * a top-level class or object, when completing the denotation once the class
@@ -551,6 +552,7 @@ object Flags {
551552 val JavaProtected : FlagSet = JavaDefined | Protected
552553 val MethodOrLazy : FlagSet = Lazy | Method
553554 val MutableOrLazy : FlagSet = Lazy | Mutable
555+ val MethodOrLazyOrMutable : FlagSet = Lazy | Method | Mutable
554556 val LiftedMethod : FlagSet = Lifted | Method
555557 val LocalParam : FlagSet = Local | Param
556558 val LocalParamAccessor : FlagSet = Local | ParamAccessor | Private
@@ -561,7 +563,7 @@ object Flags {
561563 val PrivateMethod : FlagSet = Method | Private
562564 val NoInitsInterface : FlagSet = NoInits | PureInterface
563565 val NoInitsTrait : FlagSet = NoInits | Trait // A trait that does not need to be initialized
564- val ValidForeverFlags : FlagSet = Package | Permanent | Scala2ExistentialCommon
566+ val ValidForeverFlags : FlagSet = Package | Permanent | Scala2SpecialFlags
565567 val TermParamOrAccessor : FlagSet = Param | ParamAccessor
566568 val PrivateParamAccessor : FlagSet = ParamAccessor | Private
567569 val PrivateOrSynthetic : FlagSet = Private | Synthetic
0 commit comments