[erlang-patches] Wrap eunit macros into begin ... end blocks
Mon Jun 10 11:49:58 CEST 2013
On 2013-06-10 11:46 , Anthony Ramine wrote:
> This makes typos such as missing commas between two assertions (e.g. ?assert(true) ?assert(true)) syntax errors instead of silently compiling and failing with a badfun error at runtime.
> This won't break any existing code as parenthesed expressions and blocks have the same precedence and none of these macros can be used as patterns.
> git fetch https://github.com/nox/otp.git eunit-macros-blocks
More information about the erlang-patches