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

`toString` does not work correctly on records with field named `ctor` #654

Closed
jvoigtlaender opened this Issue Jul 2, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@jvoigtlaender
Contributor

jvoigtlaender commented Jul 2, 2016

On current http://elm-lang.org/try, the following program leads to a runtime error:

import Html

main = Html.text (toString { ctor = [0] })

whereas this related program works flawlessly:

import Html

main = Html.text (toString { field = [0] })
@process-bot

This comment has been minimized.

Show comment
Hide comment
@process-bot

process-bot Jul 2, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot commented Jul 2, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Sep 22, 2016

Member

Follow along in the #723 meta issue.

Member

evancz commented Sep 22, 2016

Follow along in the #723 meta issue.

@evancz evancz closed this Sep 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment