[erlang-patches] Rewrite merge of clause variable tables (in case, try, etc)

Anthony Ramine <>
Sun Feb 2 14:48:36 CET 2014

Thinking twice about this patch, it should probably be done another way, with a function taking the accumulated variable table from the merging of previous clauses, the variable table of the current clause, and the variable table of the surrounding environment. It currently relies too much on the implementation details of orddict, I think.

Anthony Ramine

Le 14 nov. 2013 à 13:26, Anthony Ramine <> a écrit :

> Hello,
> I have finally got around fixing the two regressions reported in R16B02 with regard to unused variable warnings.
> The fix was more complicated than what I expected it to be.
> 	git fetch https://github.com/nox/otp.git fix-exporting-rules
> 	https://github.com/nox/otp/compare/erlang:maint...fix-exporting-rules
> 	https://github.com/nox/otp/compare/erlang:maint...fix-exporting-rules.patch
> Regards,
> -- 
> Anthony Ramine

More information about the erlang-patches mailing list