Skip to content

Conversation

andrew-pyle
Copy link

Add () to call to Agents.module_info/0 to remove a compilation warning. (Elixir 1.18.4)

warning: using map.field notation (without parentheses) to invoke function Agents.module_info() is
deprecated, you must add parentheses instead: remote.function()
  (elixir_koans 0.0.1) lib/runner.ex:16: anonymous fn/1 in Runner.modules/0
  (elixir 1.18.4) lib/stream.ex:626: anonymous fn/4 in Stream.map/2
  (elixir 1.18.4) lib/enum.ex:4968: Enumerable.List.reduce/3
  (elixir 1.18.4) lib/stream.ex:1773: Enumerable.Stream.do_each/4
  (elixir 1.18.4) lib/stream/reducers.ex:100: Stream.Reducers.do_zip_next/6

…tation (without parentheses) to invoke function Agents.module_info() is deprecated, you must add parentheses instead: remote.function()"
@andrew-pyle
Copy link
Author

Just trying to be helpful here.

I worked through the Elixir Koans in June and noticed several compilation warnings & deprecation notices. I just forked the repo to address those, but apart from this one, it looks like the maintainers addressed them all last week.

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