X-Git-Url: http://nitlanguage.org diff --git a/src/naive_interpreter.nit b/src/naive_interpreter.nit index 688d675..afa3fd9 100644 --- a/src/naive_interpreter.nit +++ b/src/naive_interpreter.nit @@ -1598,9 +1598,8 @@ redef class ASuperExpr end # stantard call-next-method - var mpropdef = v.frame.mpropdef + var mpropdef = self.mpropdef mpropdef = mpropdef.lookup_next_definition(v.mainmodule, recv.mtype) - assert mpropdef isa MMethodDef var res = v.call_without_varargs(mpropdef, args) return res end