exercism / elixir-analyzer

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

Add warning when `suppress_if` doesn't have the proper arguments #237

Closed jiegillet closed 2 years ago

jiegillet commented 2 years ago

For some reason I thought it needs to be a tuple, so I was attempting:

suppress_if {Constants.solution_deprecated_random_module(), :fail}

which didn't work but also didn't give any hints about why

_Originally posted by @angelikatyborska in https://github.com/exercism/elixir-analyzer/pull/235#discussion_r753801649_