Re: EEP37: Funs with names
Björn Gustavsson <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CA+yh78SfTqrZWb2eViaRCpFjT9MWtehLQQSEDFk9aOijmfdc5g@mail.gmail.com> |
On Thu, Dec 12, 2013 at 2:07 AM, Anthony Ramine <[email protected]> wrote: > > Was the extension maps? I imagine the mess merging all of that, heh. > > Yes. In the end, we decided to take out maps from our daily builds until your branch have been merged. > > Anyway, it turns out that ordinary funs no longer > > work in the debugger. It is probably my fault. The > > evaluation code depends on order of the items in the > > fun environment, which is not guaranteed to stay > > unchanged. So I have rewritten the code in a safer > > way. It can be found here: > > > > git fetch [email protected]:bjorng/otp.git nox/eep37 > > > > Have a look at it and see if you agree with my > > solution. > > Your solution is correct. But shouldn’t that be done in erl_eval too? > You are right. It happens to work now, but it could break at any time. Can you do that change? -- Björn Gustavsson, Erlang/OTP, Ericsson AB _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches