@@ -342,6 +342,9 @@ object Flags {
342342 /** Symbol is a Java default method */
343343 val (_, DefaultMethod @ _, _) = newFlags(38 , " <defaultmethod>" )
344344
345+ /** Symbol is a transparent inline method or trait */
346+ val (Transparent @ _, _, _) = newFlags(39 , " transparent" )
347+
345348 /** Symbol is an enum class or enum case (if used with case) */
346349 val (Enum @ _, EnumVal @ _, _) = newFlags(40 , " enum" )
347350
@@ -354,14 +357,16 @@ object Flags {
354357 /** An opaque type alias or a class containing one */
355358 val (Opaque @ _, _, _) = newFlags(43 , " opaque" )
356359
360+ /** An infix method or type */
361+ val (Infix @ _, _, _) = newFlags(44 , " infix" )
357362
358363 // ------------ Flags following this one are not pickled ----------------------------------
359364
360365 /** Symbol is not a member of its owner */
361- val (NonMember @ _, _, _) = newFlags(45 , " <non-member>" )
366+ val (NonMember @ _, _, _) = newFlags(49 , " <non-member>" )
362367
363368 /** Denotation is in train of being loaded and completed, used to catch cyclic dependencies */
364- val (Touched @ _, _, _) = newFlags(48 , " <touched>" )
369+ val (Touched @ _, _, _) = newFlags(50 , " <touched>" )
365370
366371 /** Class has been lifted out to package level, local value has been lifted out to class level */
367372 val (Lifted @ _, _, _) = newFlags(51 , " <lifted>" )
@@ -419,7 +424,7 @@ object Flags {
419424
420425 /** Flags representing source modifiers */
421426 private val CommonSourceModifierFlags : FlagSet =
422- commonFlags(Private , Protected , Final , Case , Implicit , Given , Override , JavaStatic )
427+ commonFlags(Private , Protected , Final , Case , Implicit , Given , Override , JavaStatic , Transparent )
423428
424429 val TypeSourceModifierFlags : FlagSet =
425430 CommonSourceModifierFlags .toTypeFlags | Abstract | Sealed | Opaque | Open
@@ -449,7 +454,7 @@ object Flags {
449454 * is completed)
450455 */
451456 val AfterLoadFlags : FlagSet = commonFlags(
452- FromStartFlags , AccessFlags , Final , AccessorOrSealed , LazyOrTrait , SelfName , JavaDefined )
457+ FromStartFlags , AccessFlags , Final , AccessorOrSealed , LazyOrTrait , SelfName , JavaDefined , Transparent )
453458
454459 /** A value that's unstable unless complemented with a Stable flag */
455460 val UnstableValueFlags : FlagSet = Mutable | Method
@@ -499,7 +504,7 @@ object Flags {
499504 /** Flags that can apply to a module val */
500505 val RetainedModuleValFlags : FlagSet = RetainedModuleValAndClassFlags |
501506 Override | Final | Method | Implicit | Given | Lazy |
502- Accessor | AbsOverride | StableRealizable | Captured | Synchronized | Erased
507+ Accessor | AbsOverride | StableRealizable | Captured | Synchronized | Erased | Transparent
503508
504509 /** Flags that can apply to a module class */
505510 val RetainedModuleClassFlags : FlagSet = RetainedModuleValAndClassFlags | Enum
@@ -576,4 +581,5 @@ object Flags {
576581 val SyntheticParam : FlagSet = Synthetic | Param
577582 val SyntheticTermParam : FlagSet = Synthetic | TermParam
578583 val SyntheticTypeParam : FlagSet = Synthetic | TypeParam
584+ val TransparentTrait : FlagSet = Trait | Transparent
579585}
0 commit comments