@@ -369,6 +369,9 @@ object Flags {
369369 /** An infix method or type */
370370 val (Infix @ _, _, _) = newFlags(44 , " infix" )
371371
372+ /** Symbol cannot be found as a member during typer */
373+ val (Invisible @ _, _, _) = newFlags(45 , " <invisible>" )
374+
372375 // ------------ Flags following this one are not pickled ----------------------------------
373376
374377 /** Symbol is not a member of its owner */
@@ -458,7 +461,7 @@ object Flags {
458461 Scala2SpecialFlags , MutableOrOpen , Opaque , Touched , JavaStatic ,
459462 OuterOrCovariant , LabelOrContravariant , CaseAccessor ,
460463 Extension , NonMember , Implicit , Given , Permanent , Synthetic ,
461- SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy )
464+ SuperParamAliasOrScala2x , Inline , Macro , ConstructorProxy , Invisible )
462465
463466 /** Flags that are not (re)set when completing the denotation, or, if symbol is
464467 * a top-level class or object, when completing the denotation once the class
@@ -512,7 +515,7 @@ object Flags {
512515 val RetainedModuleValAndClassFlags : FlagSet =
513516 AccessFlags | Package | Case |
514517 Synthetic | JavaDefined | JavaStatic | Artifact |
515- Lifted | MixedIn | Specialized | ConstructorProxy
518+ Lifted | MixedIn | Specialized | ConstructorProxy | Invisible
516519
517520 /** Flags that can apply to a module val */
518521 val RetainedModuleValFlags : FlagSet = RetainedModuleValAndClassFlags |
0 commit comments