<div><div dir="auto">Hi Hans</div></div><div dir="auto"><br></div><div dir="auto">When Erlang 21.1 will be release ?</div><div dir="auto"><br></div><div dir="auto">/Frank</div><div dir="auto"><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_8044821496356219542divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<div>[Karlo Kuna:]<br>
> for example if we parse form (i'm omitting scan pass here)<br>
> "-type a() :: tuple()." we get {ok,{attribute,1,type,{a,{type,1,tuple,any},[]}}}<br>
><br>
> interesting part here is:<br>
> {type,1,tuple,any}<br>
><br>
> as far as i can see there no method how to construct valid tuple or<br>
> map type annotations using erl_syntax. Specifically if one construct<br>
> type annotation for tuple and use erl_syntax:revert/1 one gets:<br>
><br>
> {type,1,tuple,any_size}<br>
><br>
> any_size =/= any<br>
><br>
> is this a bug??<br>
<br>
Thanks for pointing it out. A fix, see commit 1b91284, will be<br>
included in Erlang/OTP 21.1.<br>
<br>
Best regards,<br>
<br>
Hans Bolinder, Erlang/OTP team, Ericsson<br>
<br>
</div>
</div>
</div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div></div>