summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/tools/scalai/ExpressionCompiler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/tools/scalai/ExpressionCompiler.java b/sources/scala/tools/scalai/ExpressionCompiler.java
index 47774ac700..f83465665b 100644
--- a/sources/scala/tools/scalai/ExpressionCompiler.java
+++ b/sources/scala/tools/scalai/ExpressionCompiler.java
@@ -262,9 +262,9 @@ public class ExpressionCompiler {
// !!! remove this hack, and argument "from"
if (symbol.isMethod()) { // !!! Kinds.
// !!!
- if (symbol == definitions.NULL) return Code.Null;
return vapply(target, symbol, Tree.EMPTY_ARRAY);
}
+ if (symbol == definitions.NULL) return Code.Null;
// !!! return something ? raise exception ?
if (!symbol.isValue()) return Code.Null;