Closed ludwikbukowski closed 6 years ago
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: https://github.com/arjan/decorator/pull/20
It has been fixed in #20
Merged, thanks!
Example:
Will compile with a warning:
Example test: https://github.com/arjan/decorator/pull/20