<div dir="ltr">On Tue, Aug 26, 2008 at 8:46 AM, Edwin Fine <span dir="ltr"><<a href="mailto:erlang-questions_efine@usa.net">erlang-questions_efine@usa.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">How difficult could it be to add <i>optional</i> run-time checking to detect this condition without a serious risk of adverse effects on the correctness of Erlang run-time execution?<br></div></blockquote><div>
<br>If checking is turned on for the entire run-time system, library code that depends on the truncation could fail.<br><br>I think it would be better to add optional support in the compiler to turn on checks (either for an entire module, or for individual segments of<br>
a binary).<br><br>If someone writes an EEP, we will consider implementing it.<br><br>/Bjorn<br></div></div>-- <br>Björn Gustavsson, Erlang/OTP, Ericsson AB<br>
</div>