@@ -380,6 +380,9 @@ object Flags {
380
380
/** Tracked modifier for class parameter / a class with some tracked parameters */
381
381
val (Tracked @ _, _, Dependent @ _) = newFlags(46 , " tracked" )
382
382
383
+ /** Symbol can not be resolved from source during typer. PROVISIONAL (possibly replace with `Invisible` with new semantics) */
384
+ val (SourceInvisible @ _, _, _) = newFlags(47 , " <source-invisible>" )
385
+
383
386
// ------------ Flags following this one are not pickled ----------------------------------
384
387
385
388
/** Symbol is not a member of its owner */
@@ -471,7 +474,7 @@ object Flags {
471
474
Scala2SpecialFlags , MutableOrOpen , Opaque , Touched , JavaStatic ,
472
475
OuterOrCovariant , LabelOrContravariant , CaseAccessor , Tracked ,
473
476
Extension , NonMember , Implicit , Given , Permanent , Synthetic , Exported ,
474
- SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy , Invisible )
477
+ SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy , Invisible , SourceInvisible )
475
478
476
479
/** Flags that are not (re)set when completing the denotation, or, if symbol is
477
480
* a top-level class or object, when completing the denotation once the class
@@ -525,7 +528,7 @@ object Flags {
525
528
val RetainedModuleValAndClassFlags : FlagSet =
526
529
AccessFlags | Package | Case |
527
530
Synthetic | JavaDefined | JavaStatic | Artifact |
528
- Lifted | MixedIn | Specialized | ConstructorProxy | Invisible | Erased
531
+ Lifted | MixedIn | Specialized | ConstructorProxy | Invisible | SourceInvisible | Erased
529
532
530
533
/** Flags that can apply to a module val */
531
534
val RetainedModuleValFlags : FlagSet = RetainedModuleValAndClassFlags |
0 commit comments