Should there be warnings about atoms in binary expressions?
Mon Mar 21 20:56:43 CET 2005
James Hague wrote:
> where obviously it should have been Size and Type, but you don't get
> any warnings from the compiler. Feels like there should be warnings,
> given the myriad of warnings introduced in the last release of Erlang.
Yes, after a request from me, the OTP folks added this one. In R10B-4
you will get:
./foo.erl:5: Warning: binary construction will fail because of a type mismatch
Stay tuned for its upcoming release!
More information about the erlang-questions