Skip to content

Fix for Elixir 1.18, add parentheses to module_info call #13

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MeguminSama
Copy link

On Elixir 1.18, I was running into the following warning, caused by a function call in gen_registry that didn't have parentheses.

warning: using map.field notation (without parentheses) to invoke function Gateway.Gen.UserSession.module_info() is deprecated, you must add parentheses instead: remote.function()
  (gen_registry 1.3.0) lib/gen_registry.ex:207: GenRegistry.init/1
  (stdlib 6.0.1) gen_server.erl:2057: :gen_server.init_it/2
  (stdlib 6.0.1) gen_server.erl:2012: :gen_server.init_it/6
  (stdlib 6.0.1) proc_lib.erl:329: :proc_lib.init_p_do_apply/3

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.

1 participant