Not working correctly when used for function with different arities
ludwikbukowski opened this issue · 2 comments
ludwikbukowski commented
Example:
@decorate function_result(:ok)
def testfun(a,b) do a + b end
@decorate function_result(:ok)
def testfun(a) do a end
Will compile with a warning:
warning: this clause cannot match because a previous clause at line XX always matches
Example test:
#20
ludwikbukowski commented
It has been fixed in #20
arjan commented
Merged, thanks!