@@ -342,6 +342,9 @@ object Flags {
342
342
/** Symbol is a Java default method */
343
343
val (_, DefaultMethod @ _, _) = newFlags(38 , " <defaultmethod>" )
344
344
345
+ /** Symbol is a transparent inline method or trait */
346
+ val (Transparent @ _, _, _) = newFlags(39 , " transparent" )
347
+
345
348
/** Symbol is an enum class or enum case (if used with case) */
346
349
val (Enum @ _, EnumVal @ _, _) = newFlags(40 , " enum" )
347
350
@@ -354,14 +357,16 @@ object Flags {
354
357
/** An opaque type alias or a class containing one */
355
358
val (Opaque @ _, _, _) = newFlags(43 , " opaque" )
356
359
360
+ /** An infix method or type */
361
+ val (Infix @ _, _, _) = newFlags(44 , " infix" )
357
362
358
363
// ------------ Flags following this one are not pickled ----------------------------------
359
364
360
365
/** Symbol is not a member of its owner */
361
- val (NonMember @ _, _, _) = newFlags(45 , " <non-member>" )
366
+ val (NonMember @ _, _, _) = newFlags(49 , " <non-member>" )
362
367
363
368
/** 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>" )
365
370
366
371
/** Class has been lifted out to package level, local value has been lifted out to class level */
367
372
val (Lifted @ _, _, _) = newFlags(51 , " <lifted>" )
@@ -419,7 +424,7 @@ object Flags {
419
424
420
425
/** Flags representing source modifiers */
421
426
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 )
423
428
424
429
val TypeSourceModifierFlags : FlagSet =
425
430
CommonSourceModifierFlags .toTypeFlags | Abstract | Sealed | Opaque | Open
@@ -449,7 +454,7 @@ object Flags {
449
454
* is completed)
450
455
*/
451
456
val AfterLoadFlags : FlagSet = commonFlags(
452
- FromStartFlags , AccessFlags , Final , AccessorOrSealed , LazyOrTrait , SelfName , JavaDefined )
457
+ FromStartFlags , AccessFlags , Final , AccessorOrSealed , LazyOrTrait , SelfName , JavaDefined , Transparent )
453
458
454
459
/** A value that's unstable unless complemented with a Stable flag */
455
460
val UnstableValueFlags : FlagSet = Mutable | Method
@@ -499,7 +504,7 @@ object Flags {
499
504
/** Flags that can apply to a module val */
500
505
val RetainedModuleValFlags : FlagSet = RetainedModuleValAndClassFlags |
501
506
Override | Final | Method | Implicit | Given | Lazy |
502
- Accessor | AbsOverride | StableRealizable | Captured | Synchronized | Erased
507
+ Accessor | AbsOverride | StableRealizable | Captured | Synchronized | Erased | Transparent
503
508
504
509
/** Flags that can apply to a module class */
505
510
val RetainedModuleClassFlags : FlagSet = RetainedModuleValAndClassFlags | Enum
@@ -576,4 +581,5 @@ object Flags {
576
581
val SyntheticParam : FlagSet = Synthetic | Param
577
582
val SyntheticTermParam : FlagSet = Synthetic | TermParam
578
583
val SyntheticTypeParam : FlagSet = Synthetic | TypeParam
584
+ val TransparentTrait : FlagSet = Trait | Transparent
579
585
}
0 commit comments