summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-03-13 15:41:58 +0000
committerpaltherr <paltherr@epfl.ch>2003-03-13 15:41:58 +0000
commit414752545523175d36055d8731bbdace82d807ca (patch)
tree3e781f5bbeff8fb98351e370cbd874a6d225165d /sources
parent66ce41098cacd9f8ca6b8074cc63f66ec60d1a80 (diff)
downloadscala-414752545523175d36055d8731bbdace82d807ca.tar.gz
scala-414752545523175d36055d8731bbdace82d807ca.tar.bz2
scala-414752545523175d36055d8731bbdace82d807ca.zip
- Fixed loading of null values
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;