nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src: use `ASuperExpr::mpropdef` instead of asking the frame or visitors
[nit.git]
/
src
/
abstract_compiler.nit
diff --git
a/src/abstract_compiler.nit
b/src/abstract_compiler.nit
index
b4d0779
..
2de8333
100644
(file)
--- a/
src/abstract_compiler.nit
+++ b/
src/abstract_compiler.nit
@@
-2499,7
+2499,7
@@
redef class ASuperExpr
end
# stantard call-next-method
end
# stantard call-next-method
- return v.supercall(v.frame.mpropdef.as(MMethodDef), recv.mtype.as(MClassType), args)
+ return v.supercall(mpropdef.as(not null), recv.mtype.as(MClassType), args)
end
end
end
end