[erlang-questions] List comprehension question

Anthony Ramine n.oxyde@REDACTED
Tue May 27 15:29:54 CEST 2014


The compiler’s smartness is irrelevant here, any name not appearing in all clauses is unsafe. Even if the compiler could prove that the culprit clauses aren’t ever evaluated when linting, it would still report this as an error.

-- 
Anthony Ramine

Le 27 mai 2014 à 13:40, Rich Neswold <rich.neswold@REDACTED> a écrit :

> Yes, the compiler isn't smart enough to realize the false case will prevent further evaluation. It's a false warning.
> 




More information about the erlang-questions mailing list