[erlang-questions] case expression scope

Anthony Ramine n.oxyde@REDACTED
Wed Mar 5 12:25:06 CET 2014


The compile option is warn_export_vars:

	Causes warnings to be emitted for all implicitly exported variables referred to after the primitives where they were first defined. No warnings for exported variables unless they are referred to in some pattern, which is the default, can be selected by the option nowarn_export_vars.

-- 
Anthony Ramine

Le 5 mars 2014 à 12:18, Thomas Lindgren <thomasl_erlang@REDACTED> a écrit :

> In the larger scheme of things: The way I see it, the feature of implicit variable matching is more trouble than it's worth. Warnings about such matches would catch this kind of problems.
> 




More information about the erlang-questions mailing list