summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2015-07-21 22:13:25 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2015-07-24 15:52:56 +0200
commit241bb9ac192f13868436d9a4e2e7ae29a2e22bed (patch)
tree9faa2e89ede42bb8390909afa1ec912f22f23997 /src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
parent7a7f9927c3fd9919133d12619ce83ac2481848ce (diff)
downloadscala-241bb9ac192f13868436d9a4e2e7ae29a2e22bed.tar.gz
scala-241bb9ac192f13868436d9a4e2e7ae29a2e22bed.tar.bz2
scala-241bb9ac192f13868436d9a4e2e7ae29a2e22bed.zip
Rename the ENUM / DEFAULTMETHOD flags to include JAVA_
Similar to the new JAVA_ANNOTATION flag, be more explicit about flags for java entities.
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala')
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
index 2f1cd732da..a34ab914ef 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
@@ -307,7 +307,7 @@ abstract class GenASM extends SubComponent with BytecodeWriters { self =>
if (sym.isBridge) ACC_BRIDGE | ACC_SYNTHETIC else 0,
if (sym.isArtifact) ACC_SYNTHETIC else 0,
if (sym.isClass && !sym.isInterface) ACC_SUPER else 0,
- if (sym.hasEnumFlag) ACC_ENUM else 0,
+ if (sym.hasJavaEnumFlag) ACC_ENUM else 0,
if (sym.isVarargsMethod) ACC_VARARGS else 0,
if (sym.hasFlag(Flags.SYNCHRONIZED)) ACC_SYNCHRONIZED else 0
)