Import/Export erroneously disabled
aaronwhite opened this issue · comments
We just witnessed this error when trying to export debugger state:
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)
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.
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?