diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/reflect/scala/reflect/api/FlagSets.scala | 3 | ||||
-rw-r--r-- | src/reflect/scala/reflect/internal/FlagSets.scala | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/reflect/scala/reflect/api/FlagSets.scala b/src/reflect/scala/reflect/api/FlagSets.scala index 8a1d2f7f1d..3d5a213f2f 100644 --- a/src/reflect/scala/reflect/api/FlagSets.scala +++ b/src/reflect/scala/reflect/api/FlagSets.scala @@ -166,6 +166,9 @@ trait FlagSets { self: Universe => /** Flag indicating that tree represents a variable or a member initialized to the default value */ val DEFAULTINIT: FlagSet + + /** Flag indicating that tree was generated by the compiler */ + val SYNTHETIC: FlagSet } /** The empty set of flags diff --git a/src/reflect/scala/reflect/internal/FlagSets.scala b/src/reflect/scala/reflect/internal/FlagSets.scala index 961adb2c57..84825ff2da 100644 --- a/src/reflect/scala/reflect/internal/FlagSets.scala +++ b/src/reflect/scala/reflect/internal/FlagSets.scala @@ -42,5 +42,6 @@ trait FlagSets extends api.FlagSets { self: SymbolTable => val DEFAULTPARAM : FlagSet = Flags.DEFAULTPARAM val PRESUPER : FlagSet = Flags.PRESUPER val DEFAULTINIT : FlagSet = Flags.DEFAULTINIT + val SYNTHETIC : FlagSet = Flags.SYNTHETIC } } |