@@ -434,9 +434,9 @@ object Flags {
434434 val (Permanent @ _, _, _) = newFlags(61 , " <permanent>" )
435435
436436 /** Symbol is a constructor proxy (either companion, or apply method) */
437- val (ConstructorProxy @ _, _, _) = newFlags(62 , " <constructor proxy >" ) // (could be merged with Lifted)
437+ val (PhantomSymbol @ _, _, _) = newFlags(62 , " <phantom symbol >" ) // (could be merged with Lifted)
438438
439- val CaptureParam = ConstructorProxy
439+ val CaptureParam = PhantomSymbol
440440
441441// --------- Combined Flag Sets and Conjunctions ----------------------
442442
@@ -473,7 +473,7 @@ object Flags {
473473 Scala2SpecialFlags , MutableOrOpen , Opaque , Touched , JavaStatic ,
474474 OuterOrCovariant , LabelOrContravariant , CaseAccessor , Tracked ,
475475 Extension , NonMember , Implicit , Given , Permanent , Synthetic , Exported ,
476- SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy , Invisible )
476+ SuperParamAliasOrScala2x , Inline , Macro , PhantomSymbol , Invisible )
477477
478478 /** Flags that are not (re)set when completing the denotation, or, if symbol is
479479 * a top-level class or object, when completing the denotation once the class
@@ -527,7 +527,7 @@ object Flags {
527527 val RetainedModuleValAndClassFlags : FlagSet =
528528 AccessFlags | Package | Case |
529529 Synthetic | JavaDefined | JavaStatic | Artifact |
530- Lifted | MixedIn | Specialized | ConstructorProxy | Invisible | Erased
530+ Lifted | MixedIn | Specialized | PhantomSymbol | Invisible | Erased
531531
532532 /** Flags that can apply to a module val */
533533 val RetainedModuleValFlags : FlagSet = RetainedModuleValAndClassFlags |
@@ -567,8 +567,8 @@ object Flags {
567567 val EnumCase : FlagSet = Case | Enum
568568 val CovariantLocal : FlagSet = Covariant | Local // A covariant type parameter
569569 val ContravariantLocal : FlagSet = Contravariant | Local // A contravariant type parameter
570- val EffectivelyErased = ConstructorProxy | Erased
571- val ConstructorProxyModule : FlagSet = ConstructorProxy | Module
570+ val EffectivelyErased = PhantomSymbol | Erased
571+ val ConstructorProxyModule : FlagSet = PhantomSymbol | Module
572572 val DefaultParameter : FlagSet = HasDefault | Param // A Scala 2x default parameter
573573 val DeferredInline : FlagSet = Deferred | Inline
574574 val DeferredMethod : FlagSet = Deferred | Method
@@ -581,7 +581,7 @@ object Flags {
581581 val FinalOrInline : FlagSet = Final | Inline
582582 val FinalOrModuleClass : FlagSet = Final | ModuleClass // A module class or a final class
583583 val EffectivelyFinalFlags : FlagSet = Final | Private
584- val ExcludedForwarder : Flags .FlagSet = Specialized | Lifted | Protected | JavaStatic | Private | Macro | ConstructorProxy
584+ val ExcludedForwarder : Flags .FlagSet = Specialized | Lifted | Protected | JavaStatic | Private | Macro | PhantomSymbol
585585 val FinalOrSealed : FlagSet = Final | Sealed
586586 val GivenOrImplicit : FlagSet = Given | Implicit
587587 val GivenOrImplicitVal : FlagSet = GivenOrImplicit .toTermFlags
0 commit comments