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

Filter additional hint options (-XHaskell -ddump-hi) #18

Merged
merged 5 commits into from
Jan 12, 2019

Conversation

limick
Copy link
Contributor

@limick limick commented Jan 5, 2019

Having default-language: Haskell2010 in the .cabal file can lead to hint throwing "Unknown interpreter error". Filtering out this option fixes the issue.

Similarly, as discussed in this hint issue, the option -ddump-hi that snap-loader-dynamic passes to hint can lead to the latter being unable to empty a temporary directory, which causes it to fail completely. Filtering out -ddump-hi fixes the problem (found by @nwg and @gelisam).

@mightybyte
Copy link
Member

Great work! Thanks for following through on this.

@mightybyte mightybyte merged commit c621b20 into snapframework:master Jan 12, 2019
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

Successfully merging this pull request may close these issues.

2 participants