summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
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 820715ae9a..4caecd7dbc 100644
--- a/sources/scala/tools/scalai/Interpreter.java
+++ b/sources/scala/tools/scalai/Interpreter.java
@@ -167,7 +167,7 @@ public class Interpreter {
}
private Symbol getMethod(Symbol module, Name name, Type type) {
- Symbol symbol = module.lookup(name);
+ Symbol symbol = module.moduleClass().lookup(name);
if (symbol == Symbol.NONE || isMethod(symbol, type)) return symbol;
switch (symbol.type()) {
case OverloadedType(Symbol[] alts, _):