rrrene / credo

A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
http://credo-ci.org/
MIT License
4.91k stars 414 forks source link

Fix deprecation for 1.17 #1125

Closed mhanberg closed 4 months ago

mhanberg commented 4 months ago

1.17 deprecates calling remote functions without parentheses, which means that calls like Foo.Bar.run and foo = %{bar: Foo}; foo.bar.run should instead be formatted like Foo.Bar.run() and foo = %{bar: Foo}; foo.bar.run()

This show up as runtime warnings.

rrrene commented 4 months ago

I will merge this soon! Thx for bringing this up 👍