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 Elixir 1.17 runtime warning about parentheses #66

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

ivkorn
Copy link
Contributor

@ivkorn ivkorn commented Jan 24, 2025

Hello! I fixed the warning about invoking function without parentheses.

warning: using map.field notation (without parentheses) to invoke function EctoSQLite3Extras.CompileOptions.info() is deprecated, you must add parentheses instead: remote.function()
  (ecto_sqlite3_extras 1.2.2) lib/ecto_sqlite3_extras.ex:90: EctoSQLite3Extras.query/3

and same in tests

warning: using map.field notation (without parentheses) to invoke function EctoSQLite3Extras.CompileOptions.info() is deprecated, you must add parentheses instead: remote.function()
  test/ecto_sqlite3_extras_test.exs:44: anonymous fn/2 in EctoSQLite3ExtrasTest."test database interaction run queries by param"/1
warning: using map.field notation (without parentheses) to invoke function EctoSQLite3Extras.CompileOptions.info() is deprecated, you must add parentheses instead: remote.function()
  test/ecto_sqlite3_extras_test.exs:55: anonymous fn/2 in EctoSQLite3ExtrasTest."test database interaction run queries on empty database"/1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@orsinium
Copy link
Member

Thank you!

@orsinium orsinium merged commit 1bfbce5 into orsinium-labs:master Jan 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants