diff options
author | paltherr <paltherr@epfl.ch> | 2003-07-18 17:34:31 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-07-18 17:34:31 +0000 |
commit | 511713e0f473c8722c60d0efdfd934bc10281625 (patch) | |
tree | c9907e44bb0e9d29d72f5d4dc3088650e4214ae2 | |
parent | 5df0cb2c74dccc7983397bde2e2511618fc57f7c (diff) | |
download | scala-511713e0f473c8722c60d0efdfd934bc10281625.tar.gz scala-511713e0f473c8722c60d0efdfd934bc10281625.tar.bz2 scala-511713e0f473c8722c60d0efdfd934bc10281625.zip |
- Fixed call to evaluate method
-rw-r--r-- | sources/scala/tools/scalai/Interpreter.java | 2 |
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); |