Thu Dec 18 15:26:05 CET 2003
Kostis Sagonas wrote:
> In this particular
> case, we are actually talking about *eliminating* (in the case of the
> BEAM compiler) and *avoiding adding* (in the case of HiPE) lots of
> stupid code that is now special-handling the case of "a+42" (and
> generating instructions with very weird argument types). If you
> do not believe me, just look at the sources.
But you're only getting this win if you make this an error, not a warning,
right? You'll still be "generating instructions with weird argument types"
if you print a warning, then generate code. In fact, you're *adding* (what
I suspect is a trivial amount of) code to print the warning.
More information about the erlang-questions