@@ -380,6 +380,9 @@ object Flags {
380380 /** Tracked modifier for class parameter / a class with some tracked parameters */
381381 val (Tracked @ _, _, Dependent @ _) = newFlags(46 , " tracked" )
382382
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+
383386 // ------------ Flags following this one are not pickled ----------------------------------
384387
385388 /** Symbol is not a member of its owner */
@@ -471,7 +474,7 @@ object Flags {
471474 Scala2SpecialFlags , MutableOrOpen , Opaque , Touched , JavaStatic ,
472475 OuterOrCovariant , LabelOrContravariant , CaseAccessor , Tracked ,
473476 Extension , NonMember , Implicit , Given , Permanent , Synthetic , Exported ,
474- SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy , Invisible )
477+ SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy , Invisible , SourceInvisible )
475478
476479 /** Flags that are not (re)set when completing the denotation, or, if symbol is
477480 * a top-level class or object, when completing the denotation once the class
@@ -525,7 +528,7 @@ object Flags {
525528 val RetainedModuleValAndClassFlags : FlagSet =
526529 AccessFlags | Package | Case |
527530 Synthetic | JavaDefined | JavaStatic | Artifact |
528- Lifted | MixedIn | Specialized | ConstructorProxy | Invisible | Erased
531+ Lifted | MixedIn | Specialized | ConstructorProxy | Invisible | SourceInvisible | Erased
529532
530533 /** Flags that can apply to a module val */
531534 val RetainedModuleValFlags : FlagSet = RetainedModuleValAndClassFlags |
0 commit comments