diff options
author | schinz <schinz@epfl.ch> | 2003-08-04 15:12:33 +0000 |
---|---|---|
committer | schinz <schinz@epfl.ch> | 2003-08-04 15:12:33 +0000 |
commit | f014b416aa6099f9031f60f1ccdb19a9ced74382 (patch) | |
tree | e92e76f315a2a317c89d82d2ece223dd4f68a970 /sources | |
parent | ea1bcd09ef787c55a6a7394951d90cc2558e1586 (diff) | |
download | scala-f014b416aa6099f9031f60f1ccdb19a9ced74382.tar.gz scala-f014b416aa6099f9031f60f1ccdb19a9ced74382.tar.bz2 scala-f014b416aa6099f9031f60f1ccdb19a9ced74382.zip |
- added a hack to make sure that flags are tran...
- added a hack to make sure that flags are transformed correctly before
we check them to see if the owner of a method is an interface; this
should really be cleaned by transforming flags separately from types.
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/backend/jvm/GenJVM.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/scalac/backend/jvm/GenJVM.java b/sources/scalac/backend/jvm/GenJVM.java index 0bd4fabda1..817ca9b55b 100644 --- a/sources/scalac/backend/jvm/GenJVM.java +++ b/sources/scalac/backend/jvm/GenJVM.java @@ -386,6 +386,8 @@ class GenJVM { : javaName(funSym.owner()); String mthName = funSym.name.toString(); + funSym.owner().info(); // [HACK] ensure that flags are + // transformed. if (funSym.owner().isInterface()) ctx.code.emitINVOKEINTERFACE(clsName, mthName, funType); else { |