[erlang-patches] [PATCH] ms_tranform: Fix incorrect `variable shadowed' warnings

Haitao Li <>
Fri Aug 26 04:42:36 CEST 2011


Hi,

The scope for a variable is its function clause. Variables bound in one
function clause should not interfere with other function clauses. This
patch removes incorrect passing of variable bindings from one function
clause to another.

git fetch git://github.com/lht/otp.git fix-ms_transform-scope-warn
https://github.com/lht/otp/compare/fix-ms_transform-scope-warn
https://github.com/lht/otp/compare/fix-ms_transform-scope-warn.patch

/Haitao


More information about the erlang-patches mailing list