erlc question, why no error message for erronous code?

Bjorn Gustavsson bjorn@REDACTED
Wed Jun 4 11:47:47 CEST 2003


We plan have add warnings of this kind in the R10 release.

/Bjorn

Bengt Kleberg <eleberg@REDACTED> writes:

> 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
> 

-- 
Björn Gustavsson            Ericsson Utvecklings AB
bjorn@REDACTED      ÄT2/UAB/F/P
			    BOX 1505
+46 8 727 56 87 	    125 25 Älvsjö



More information about the erlang-questions mailing list