diff options
author | Anthony Ramine <[email protected]> | 2012-11-13 11:01:48 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-12-12 12:54:24 +0100 |
commit | a122254898597d73658e72070862e2da0d1cf85b (patch) | |
tree | 6f3aa497c30b1faf01fb4805ba8603e1253318ba /erts/include | |
parent | 1b5c922b37c9c60dcfa53894a9968735019822e7 (diff) | |
download | otp-a122254898597d73658e72070862e2da0d1cf85b.tar.gz otp-a122254898597d73658e72070862e2da0d1cf85b.tar.bz2 otp-a122254898597d73658e72070862e2da0d1cf85b.zip |
Support named funs in the debugger interpreter
The current code for the evaluation of ordinary funs is dependent
on the order on variables in the fun environment as returned by
erlang:fun_info(Fun, env). As it happened, adding the code for
named funs changed the order in the environment for ordinary funs.
To avoid the problem in the future, make sure that we only have one
free variable in the funs that we will need to inspect using
erlang:fun_info(Fun, env).
Diffstat (limited to 'erts/include')
0 files changed, 0 insertions, 0 deletions