Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated function calls without parens #35

Conversation

janpieper
Copy link
Contributor

I found some more warnings regarding function calls without (), similar to #33.

warning: using map.field notation (without parentheses) to invoke function MyApp.History.__info__() is deprecated, you must add parentheses instead: remote.function()
  (memento 0.3.2) lib/memento/query/query.ex:279: Memento.Query.all/2
  (elixir 1.17.1) src/elixir.erl:386: :elixir.eval_external_handler/3
  (mnesia 4.23.1) mnesia_tm.erl:889: :mnesia_tm.apply_fun/3
  (mnesia 4.23.1) mnesia_tm.erl:865: :mnesia_tm.execute_transaction/5
  (memento 0.3.2) lib/memento/transaction.ex:71: Memento.Transaction.execute/2

Copy link
Owner

@sheharyarn sheharyarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sheharyarn sheharyarn merged commit 5aef081 into sheharyarn:master Jul 26, 2024
0 of 7 checks passed
@janpieper janpieper deleted the fix-function-calls-without-parens-warning branch July 27, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants