slepher / astranaut

traverse erlang ast and elixir macro in erlang.
MIT License
15 stars 0 forks source link

add strict mode #9

Closed slepher closed 4 years ago

slepher commented 4 years ago

usually pepole dont bind variable in fuction call, tuple, etc such as

hello(begin A = A +1, A end, begin A = A+ 2, A end).
{begin A = A +1, A end, begin A = A+ 2, A end}

add rebinding option strict to enable rebinding in such cases. strict is default to false.