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

Json.Decode: Uncaught TypeError: Cannot read property 'tag' of undefined #618

Closed
ivanceras opened this Issue May 21, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@ivanceras

ivanceras commented May 21, 2016

This will occur when decoding json with recursive data structure type.

Uncaught TypeError: Cannot read property 'tag' of undefined

pointing to this line of code

function runHelp(decoder, value)
{
    switch (decoder.tag)

Here is a short gist for this issue

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
@jvoigtlaender

jvoigtlaender May 21, 2016

Contributor

This is a known issue, with known current workarounds. Check issue 873 at the elm-compiler repo.

Contributor

jvoigtlaender commented May 21, 2016

This is a known issue, with known current workarounds. Check issue 873 at the elm-compiler repo.

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