Small poll

Thu Dec 11 10:20:39 CET 2003

> In a function like:
> 	test(A) ->
> 	    a + 42.
> which is either crap (arguably) or a typo (A vs a), how many
> Erlang users:
>  1. Are content with the current situation where the compiler
> 	happily compiles this program
>  2. Would like to see a warning, but a .beam file generated
> 	nevetheless
>  3. Would prefer if the compiler in R10 refused to compile it


I am quite content with the current situation. I always compile
with [warn_unused_vars], and even if A were used elsewhere I would
detect the runtime error in my unit tests.

Please don't make compile times any longer!


Dominic Williams.

More information about the erlang-questions mailing list