summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-07-18 17:34:31 +0000
committerpaltherr <paltherr@epfl.ch>2003-07-18 17:34:31 +0000
commit511713e0f473c8722c60d0efdfd934bc10281625 (patch)
treec9907e44bb0e9d29d72f5d4dc3088650e4214ae2 /sources
parent5df0cb2c74dccc7983397bde2e2511618fc57f7c (diff)
downloadscala-511713e0f473c8722c60d0efdfd934bc10281625.tar.gz
scala-511713e0f473c8722c60d0efdfd934bc10281625.tar.bz2
scala-511713e0f473c8722c60d0efdfd934bc10281625.zip
- Fixed call to evaluate method
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/tools/scalai/Interpreter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/tools/scalai/Interpreter.java b/sources/scala/tools/scalai/Interpreter.java
index 2bf478216f..820715ae9a 100644
--- a/sources/scala/tools/scalai/Interpreter.java
+++ b/sources/scala/tools/scalai/Interpreter.java
@@ -55,7 +55,7 @@ public class Interpreter {
Variable variable = compiler.getModule(module);
Function function = compiler.getMethod(method);
try {
- evaluator.evaluate(variable, function, args);
+ evaluator.evaluate(variable, function, new Object[] {args});
return EvaluatorResult.Void;
} catch (EvaluatorException exception) {
return EvaluatorResult.Error(exception);