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

Workaround for type inference regression in GHC 8.1 #274

Closed
wants to merge 1 commit into from
Closed

Workaround for type inference regression in GHC 8.1 #274

wants to merge 1 commit into from

Conversation

thomie
Copy link

@thomie thomie commented Jul 23, 2016

resourcet doesn't build with GHC HEAD (ghc-8.1.20160720), due to https://ghc.haskell.org/trac/ghc/ticket/12427.

Here is a workaround.

@snoyberg
Copy link
Owner

Is there reason to believe this won't be fixed before release? I'm generally not a fan of modifying the code base to work around unreleased bugs like this, unless there's some advantage I'm not aware of.

@thomie
Copy link
Author

thomie commented Jul 24, 2016

Fair enough.

I ran into this while trying to reproduce another bug report with GHC HEAD, that depended on resourcet. But I can either use my local resourcet clone if that happens again, or hopefully the original GHC bug (12147) is indeed fixed by then.

@thomie thomie closed this Jul 24, 2016
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.

None yet

2 participants