summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {