erl_id_trans.erl

Thomas Arts thomas@REDACTED
Fri Apr 6 09:29:21 CEST 2001


Bumped into the following:

in erl_id_trans.erl
the function record_updates

record_updates([{record_field,Lf,{atom,La,F},Val0}|Us]) ->
    Val1 = expr(Val0),
    [{record_field,Lf,{atom,La,F},Val0}|record_updates(Us)];
record_updates([]) -> [].

should read Val1 instead of Val0 in the third line, i.e:

record_updates([{record_field,Lf,{atom,La,F},Val0}|Us]) ->
    Val1 = expr(Val0),
    [{record_field,Lf,{atom,La,F},Val1}|record_updates(Us)];
record_updates([]) -> [].



Regards
Thomas


---
Thomas Arts
Computer Science Lab



More information about the erlang-questions mailing list