exercism / elixir-analyzer

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

Allow ::8 or ::size(8) in file-sniffer pattern matching #354

Closed angelikatyborska closed 1 year ago

angelikatyborska commented 1 year ago

Resolves https://github.com/exercism/elixir-analyzer/issues/353

This is very not-dry 😬 is it good enough or should I look into doing more meta programming with check_source?

Also, I am not entirely sure if no size, 8, and size(8) are the only three valid options. That's the only ones I could think of, but maybe there's more?