Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Import/Export erroneously disabled #238

Open
aaronwhite opened this issue Mar 3, 2018 · 2 comments
Open

Import/Export erroneously disabled #238

aaronwhite opened this issue Mar 3, 2018 · 2 comments

Comments

@aaronwhite
Copy link

aaronwhite commented Mar 3, 2018

We just witnessed this error when trying to export debugger state:

screen shot 2018-03-02 at 8 24 45 pm

The type referenced is:

type TemplateMsg =
    EditField TaskFieldUpdate
  | DragTask Int
  | DropTask Int
  | UpdateEditableState Int (EditState, Maybe String, Maybe String)
  | Save

type TaskFieldUpdate =
    Title String
  | RequiresUpload Bool

type EditState =
    None
  | Editing
  | Saving

I suspect that one fo the types contained begins with Task, the Elm Debugger assumed it was a Task (incorrectly)

Elm: 0.18
Browser: Chrome 64.0.3282.186 (Official Build) (64-bit)

@process-bot
Copy link

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
Copy link
Contributor

evancz commented Jul 30, 2018

The problem comes from the code here. I'll circle back to this later.

It was a bit difficult to reproduce this error without an http://sscce.org/. Is the style of the code in your image from your application? Or is that from Elm?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants