summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorschinz <schinz@epfl.ch>2003-08-29 13:36:21 +0000
committerschinz <schinz@epfl.ch>2003-08-29 13:36:21 +0000
commit79b7bfc473ad18a2ff6efb5c3d10d22adb4f9f0e (patch)
tree571a40267ed0df2997f04372e6c36cc53b22cd4d /sources
parente6d8b58497f54c0339c0c39acf2259c7f4315b33 (diff)
downloadscala-79b7bfc473ad18a2ff6efb5c3d10d22adb4f9f0e.tar.gz
scala-79b7bfc473ad18a2ff6efb5c3d10d22adb4f9f0e.tar.bz2
scala-79b7bfc473ad18a2ff6efb5c3d10d22adb4f9f0e.zip
- removed hack to work around ExpandMixin bug, ...
- removed hack to work around ExpandMixin bug, the latter being fixed
Diffstat (limited to 'sources')
-rw-r--r--sources/scalac/backend/jvm/GenJVM.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/sources/scalac/backend/jvm/GenJVM.java b/sources/scalac/backend/jvm/GenJVM.java
index 78a259da7d..f277bf7ea9 100644
--- a/sources/scalac/backend/jvm/GenJVM.java
+++ b/sources/scalac/backend/jvm/GenJVM.java
@@ -385,10 +385,7 @@ class GenJVM {
funSym.owner().info(); // [HACK] ensure that flags are
// transformed.
- // [HACK] in reality isSuperCall should never be true
- // is the owner is an interface, but this is a quick
- // fix before ExpandMixins is fixed.
- if (funSym.owner().isInterface() && !isSuperCall)
+ if (funSym.owner().isInterface())
ctx.code.emitINVOKEINTERFACE(clsName, mthName, funType);
else {
if (isConstrCall || isSuperCall) {