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 harmful $! forcing in beside #35

Merged
merged 2 commits into from
Jun 2, 2016
Merged

Remove harmful $! forcing in beside #35

merged 2 commits into from
Jun 2, 2016

Conversation

ndmitchell
Copy link
Contributor

This addresses some of #32, and adds a new test case. With the fix the test completes successfully. Without the fix I see:

Stack space overflow: current size 99200 bytes.
Use `+RTS -Ksize -RTS' to increase it.

Before the fix there is no amount of memory that would allow the test to complete - it's essentially a memory-allocating loop.

@dterei dterei merged commit ba5a4da into haskell:master Jun 2, 2016
@dterei
Copy link
Member

dterei commented Jun 2, 2016

Thanks!

@ndmitchell
Copy link
Contributor Author

Any plans on making a release with this fix? I've got some downstream dependencies that it impacts. If there's a release imminent I'll do nothing and wait for it. If there's no planned release for a while I'll whitelist a few things until then.

@dterei
Copy link
Member

dterei commented Jun 3, 2016

Sure, I'll make a release today.

@dterei
Copy link
Member

dterei commented Jun 3, 2016

Done

@ndmitchell
Copy link
Contributor Author

Thanks, I owe you a beer (both for the release, and for maintaining a very important library that might otherwise be unloved).

ghc-mirror pushed a commit to ghc/ghc that referenced this pull request Jul 17, 2016
This is backport of [1] for GHC's copy of Pretty. See Note [Differences
between libraries/pretty and compiler/utils/Pretty.hs].

[1] http://git.haskell.org/packages/pretty.git/commit/bbe9270c5f849a5bb74c9166a5f4202cfb0dba22
    haskell/pretty#32
    haskell/pretty#35

Reviewers: bgamari, austin

Reviewed By: austin

Differential Revision: https://phabricator.haskell.org/D2397

GHC Trac Issues: #12227
bgamari pushed a commit to bgamari/ghc that referenced this pull request Aug 25, 2016
This is backport of [1] for GHC's copy of Pretty. See Note [Differences
between libraries/pretty and compiler/utils/Pretty.hs].

[1] http://git.haskell.org/packages/pretty.git/commit/bbe9270c5f849a5bb74c9166a5f4202cfb0dba22
    haskell/pretty#32
    haskell/pretty#35

Reviewers: bgamari, austin

Reviewed By: austin

Differential Revision: https://phabricator.haskell.org/D2397

GHC Trac Issues: #12227

(cherry picked from commit 89a8be7)
bgamari pushed a commit to bgamari/ghc that referenced this pull request Aug 25, 2016
This is backport of [1] for GHC's copy of Pretty. See Note [Differences
between libraries/pretty and compiler/utils/Pretty.hs].

[1] http://git.haskell.org/packages/pretty.git/commit/bbe9270c5f849a5bb74c9166a5f4202cfb0dba22
    haskell/pretty#32
    haskell/pretty#35

Reviewers: bgamari, austin

Reviewed By: austin

Differential Revision: https://phabricator.haskell.org/D2397

GHC Trac Issues: #12227

(cherry picked from commit 89a8be7)
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