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

Remove two bad accursedUnutterablePerformIO uses #542

Merged
merged 1 commit into from
Sep 17, 2022

Conversation

clyring
Copy link
Member

@clyring clyring commented Sep 16, 2022

One of these was demonstrated by haskell/aeson#967 and GHC issue 22204.

I took the liberty of auditing the rest of our use-sites for accursedUnutterablePerformIO. The uses I haven't removed in this commit perform only read effects, which are at least less dangerous.

Copy link
Member

@sjakobi sjakobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for figuring this out, @clyring! :)

@Bodigrim Bodigrim merged commit 6c0a194 into haskell:master Sep 17, 2022
@Bodigrim
Copy link
Contributor

Thanks @clyring!

@Bodigrim Bodigrim added this to the 0.11.4.0 milestone Sep 17, 2022
Bodigrim pushed a commit to Bodigrim/bytestring that referenced this pull request Nov 25, 2022
Co-authored-by: Matthew Craven <clyring@users.noreply.github.com>
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

3 participants