erlc question, why no error message for erronous code?

Bengt Kleberg eleberg@REDACTED
Tue Jun 3 12:58:58 CEST 2003


greetings,

i had a (runtime) crash with ''badarith''. the code was:
rate_class + 1

while not beeing a compiler writer, i somehow think it would be
possible for the compiler to diagnose this kind of error*, would it
not?

*i belive this is a ''attempt to do arithmetic on an atom'' kind of error.


bengt




More information about the erlang-questions mailing list