[erlang-bugs] erl_pp having problems with typed record defs

Hans Bolinder hans.bolinder@REDACTED
Mon Oct 24 08:22:24 CEST 2011


[Ulf Wiger:]
> I noticed that erl_pp gets very unhappy with typed records.

...
> where parse_trans_pp basically does:
> 
> 		   io_lib:fwrite("~s~n", [lists:flatten(
> 					    [erl_pp:form(Form) ||
> 						Form <- AC])])
...
> Any suggestions on how to get around this?

  Form <- epp:restore_typed_record_fields(AC)

Best regards,

Hans Bolinder, Erlang/OTP team, Ericsson



More information about the erlang-bugs mailing list