Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upBasics.toString leads to runtime error on Html values #488
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
jvoigtlaender
Jan 18, 2016
Contributor
The error is unrelated to Debug.log. As evidence, it happens as well for this code:
import Html exposing (p, text)
import Graphics.Element
main = Graphics.Element.show (p [] [ text "42"])The culprit is the implementation of Native.Utils.toString, which both Debug.log and Graphics.Element.show are using.
|
The error is unrelated to import Html exposing (p, text)
import Graphics.Element
main = Graphics.Element.show (p [] [ text "42"])The culprit is the implementation of |
jvoigtlaender
changed the title from
Debug.log runtime error
to
Basics.toString leads to runtime error on Html values
Jan 18, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
#183 might fix this. |
This was referenced Jan 28, 2016
This was referenced Apr 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
This is fixed in Elm 0.17. |
jvoigtlaender
closed this
Jun 27, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
berndca commentedJan 18, 2016
I'm getting a TypeError exception for the following code: