elixir-koans
elixir-koans copied to clipboard
Address Compilation Warning
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
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.