Skip to content
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

Expose Animation.Model in order to fight elm 0.19 compiler bug. #67

Open
francescortiz opened this issue Dec 12, 2018 · 3 comments
Open

Comments

@francescortiz
Copy link

There is an important bug that prevents the debug compilation of elm if the types used by Msg are internal or inderect dependencies. Animation.Model is internal, so using elm-style-animation breaks debug compilations.

elm/compiler#1851

elm/compiler#1864

https://github.com/elm/compiler/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+Map.%21

@lisardo
Copy link

lisardo commented Jan 21, 2019

I'm facing this issue at the moment...is there any workaround for it?

@francescortiz
Copy link
Author

You can download the project files, make the change and add the directory where you put this "patched" source into your elm.json, under "src-directories"

image

@lisardo
Copy link

lisardo commented Jan 21, 2019

@francescortiz thank you for the quick reply, it worked fine the way you mentioned 🥇

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

No branches or pull requests

2 participants