Skip to content

Conversation

@mgartner
Copy link
Contributor

When upgrading one of my projects to Elixir v1.3, I found the Enum.group_by/3 deprecation message to be a bit confusing. It says to please use a map instead, but a map is used by default with the new form of Enum.group_by/3. The user only needs to remove the map as an argument to the function.

I think this makes it a little more clear what do to. I'm open to any suggestions here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch! Can you please add a space after the dot on this line? Thank you!

@josevalim
Copy link
Member

@mgartner I have added two comments and we should be good to go!

@mgartner
Copy link
Contributor Author

@josevalim updated!

@josevalim josevalim merged commit 9252a16 into elixir-lang:master Jun 22, 2016
josevalim pushed a commit that referenced this pull request Jun 22, 2016
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
@mgartner mgartner deleted the enum-group-by-deprecation-message branch June 22, 2016 17:45
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.

3 participants