nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitc/niti: unify returnmark and escapemark
[nit.git]
/
src
/
interpreter
/
debugger.nit
diff --git
a/src/interpreter/debugger.nit
b/src/interpreter/debugger.nit
index
cf4e815
..
25ca6c2
100644
(file)
--- a/
src/interpreter/debugger.nit
+++ b/
src/interpreter/debugger.nit
@@
-1418,10
+1418,8
@@
redef class AMethPropdef
curr_instances[i] = currFra.map[i]
end
end
- if v.returnmark == f then
- v.returnmark = null
+ if v.is_escape(self.return_mark) then
var res = v.escapevalue
- v.escapevalue = null
return res
end
return null