Skip to content

Conversation

@whatyouhide
Copy link
Member

Should close #6060.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe a comment here saying that we need to have this on its own line to detect any escaping issues which would be by passed with we just passed it to the macro below?

Copy link
Member

Choose a reason for hiding this comment

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

Or maybe have two tests. One for defaults/0 and another for defaults/1.

Copy link
Member Author

Choose a reason for hiding this comment

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

Both suggestions make sense 👍

@whatyouhide whatyouhide merged commit 290e002 into elixir-lang:master May 9, 2017
@whatyouhide whatyouhide deleted the escape-fields-defrecord branch May 9, 2017 19:31
@whatyouhide
Copy link
Member Author

Backported to 1.4.

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.

Compilator error when map used as a default value in record

3 participants