@@ -434,9 +434,9 @@ object Flags {
434
434
val (Permanent @ _, _, _) = newFlags(61 , " <permanent>" )
435
435
436
436
/** 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)
438
438
439
- val CaptureParam = ConstructorProxy
439
+ val CaptureParam = PhantomSymbol
440
440
441
441
// --------- Combined Flag Sets and Conjunctions ----------------------
442
442
@@ -473,7 +473,7 @@ object Flags {
473
473
Scala2SpecialFlags , MutableOrOpen , Opaque , Touched , JavaStatic ,
474
474
OuterOrCovariant , LabelOrContravariant , CaseAccessor , Tracked ,
475
475
Extension , NonMember , Implicit , Given , Permanent , Synthetic , Exported ,
476
- SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy , Invisible )
476
+ SuperParamAliasOrScala2x , Inline , Macro , PhantomSymbol , Invisible )
477
477
478
478
/** Flags that are not (re)set when completing the denotation, or, if symbol is
479
479
* a top-level class or object, when completing the denotation once the class
@@ -527,7 +527,7 @@ object Flags {
527
527
val RetainedModuleValAndClassFlags : FlagSet =
528
528
AccessFlags | Package | Case |
529
529
Synthetic | JavaDefined | JavaStatic | Artifact |
530
- Lifted | MixedIn | Specialized | ConstructorProxy | Invisible | Erased
530
+ Lifted | MixedIn | Specialized | PhantomSymbol | Invisible | Erased
531
531
532
532
/** Flags that can apply to a module val */
533
533
val RetainedModuleValFlags : FlagSet = RetainedModuleValAndClassFlags |
@@ -567,8 +567,8 @@ object Flags {
567
567
val EnumCase : FlagSet = Case | Enum
568
568
val CovariantLocal : FlagSet = Covariant | Local // A covariant type parameter
569
569
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
572
572
val DefaultParameter : FlagSet = HasDefault | Param // A Scala 2x default parameter
573
573
val DeferredInline : FlagSet = Deferred | Inline
574
574
val DeferredMethod : FlagSet = Deferred | Method
@@ -581,7 +581,7 @@ object Flags {
581
581
val FinalOrInline : FlagSet = Final | Inline
582
582
val FinalOrModuleClass : FlagSet = Final | ModuleClass // A module class or a final class
583
583
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
585
585
val FinalOrSealed : FlagSet = Final | Sealed
586
586
val GivenOrImplicit : FlagSet = Given | Implicit
587
587
val GivenOrImplicitVal : FlagSet = GivenOrImplicit .toTermFlags
0 commit comments