<div dir="ltr"><span style="font-size:12.800000190734863px">Hi, I encountered following case where erl_syntax:abstract/1 returns exception when given a bitstring:</span><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">4> erl_syntax:abstract(<<0:1>>).<br>** exception error: bad argument: <<0:1>><br>     in function  erl_syntax:abstract/1 (erl_syntax.erl, line 5951)</blockquote><div><br></div></div><div style="font-size:12.800000190734863px">Is this expected ? The document says:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Term must be a literal term, i.e., one that can be represented as a source code literal.</blockquote><div><br></div><div>I guess <<0:1>> can be put in a source code.</div><div><br></div></div>