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 deprecation warning on SimpleXML example #139

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

Gazler
Copy link
Contributor

@Gazler Gazler commented Jun 27, 2024

warning: returning a two-element tuple {acc, context} in pre_traverse/post_traverse
is deprecated, please return {rest, acc, context} instead
SimpleXML.node__31/6
SimpleXML.parse__0/6
SimpleXML.parse/2
examples/simple_xml.exs:50: anonymous fn/1 in :elixir_compiler_2.FILE/1
(elixir 1.17.0-rc.1) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2
(elixir 1.17.0-rc.1) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2

 > warning: returning a two-element tuple {acc, context} in pre_traverse/post_traverse
 > is deprecated, please return {rest, acc, context} instead
 >   SimpleXML.node__31/6
 >   SimpleXML.parse__0/6
 >   SimpleXML.parse/2
 >   examples/simple_xml.exs:50: anonymous fn/1 in :elixir_compiler_2.__FILE__/1
 >   (elixir 1.17.0-rc.1) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2
 >   (elixir 1.17.0-rc.1) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2
@josevalim josevalim merged commit 03610c5 into dashbitco:master Jun 27, 2024
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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