@@ -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
@@ -561,7 +562,7 @@ object Flags {
561562 val PrivateMethod : FlagSet = Method | Private
562563 val NoInitsInterface : FlagSet = NoInits | PureInterface
563564 val NoInitsTrait : FlagSet = NoInits | Trait // A trait that does not need to be initialized
564- val ValidForeverFlags : FlagSet = Package | Permanent | Scala2ExistentialCommon
565+ val ValidForeverFlags : FlagSet = Package | Permanent | Scala2SpecialFlags
565566 val TermParamOrAccessor : FlagSet = Param | ParamAccessor
566567 val PrivateParamAccessor : FlagSet = ParamAccessor | Private
567568 val PrivateOrSynthetic : FlagSet = Private | Synthetic
0 commit comments