-
-
Notifications
You must be signed in to change notification settings - Fork 13
Comments break compilation #3
Comments
Hello @muelli, thanks for reporting the issue. Could you try pasting the source code of your If there are errors there, then the issue is with the underlying elm-ast package. |
Regardless, that error message should be more clear. |
I've pasted
into http://bogdanp.github.io/elm-ast/example/ and it fails:
I believe it's proper Elm though. |
@muelli yes, I've seen proper elm fail to parse in that package before. Would you mind opening an issue for the https://github.com/Bogdanp/elm-ast package? I'll leave this issue open to track making the error messaging more informative in |
Just to update this thread, it looks like a workaround for this issue will be included in the next major version of |
I'm working on moving over to https://github.com/tunguski/elm-ast which seems to fix this issue. However, I'm not sure what the status is of that package, so we may not be able to rely on that for too long. I opened an issue to get a sense: tunguski/elm-ast#33. I'll post back here when I publish a fix with comment parsing working! |
Hello! I pushed a fix for this @muelli. See the changelog for npm version 0.0.5. Note that I still need to make a couple of changes to get this parsing Elm 0.19 program types properly. If you're still on 0.18, would you mind checking how this works with your project now? This particular issue should be resolved, but I'd love your overall feedback. Thank you! |
could it be that the interop program trips over compiler warnings?
I get this failure:
However, it compiles, although with a warning:
The text was updated successfully, but these errors were encountered: