exercism / elixir-analyzer

GNU Affero General Public License v3.0
31 stars 32 forks source link

[#146] Missing parenthesis in zero-arity function definitions cause false-positives #147

Closed jiegillet closed 3 years ago

jiegillet commented 3 years ago

Fixes #146.

From this PR, a will always be treated to be equivalent with a() in a feature, and match both a and a() in code.

There was already some code that did this for the special case of pipes, but I removed it since this is more general.