diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-02-12 10:43:40 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-02-12 10:43:40 +0000 |
commit | 258591edca98c8e6b1db1c49132dc93f2f249f5d (patch) | |
tree | 0ae173caa42bd3ea4e212647013cf28d6be9655d /src | |
parent | d7da5b7e4fde8bc567f31d91a5da8a2b24617d32 (diff) | |
download | scala-258591edca98c8e6b1db1c49132dc93f2f249f5d.tar.gz scala-258591edca98c8e6b1db1c49132dc93f2f249f5d.tar.bz2 scala-258591edca98c8e6b1db1c49132dc93f2f249f5d.zip |
Generate SYNTHETIC attribute for methods and fi...
Generate SYNTHETIC attribute for methods and fields.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala index f6797e1ba7..d412a4315e 100644 --- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala +++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala @@ -1361,6 +1361,7 @@ abstract class GenJVM extends SubComponent { jf = jf | (if (sym hasFlag Flags.INTERFACE) ACC_INTERFACE else 0) jf = jf | (if ((sym hasFlag Flags.FINAL) && !sym.enclClass.hasFlag(Flags.INTERFACE)) ACC_FINAL else 0) jf = jf | (if (isStaticSymbol(sym)) ACC_STATIC else 0) + jf = jf | (if (sym hasFlag Flags.SYNTHETIC) ACC_SYNTHETIC else 0) jf } |