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

Fix #227 #229

Merged
merged 9 commits into from
Aug 27, 2018
Merged

Fix #227 #229

merged 9 commits into from
Aug 27, 2018

Conversation

bgamari
Copy link
Contributor

@bgamari bgamari commented Aug 22, 2018

This fixes two bugs:

  • The size in caseConvert was incorrectly (albeit subtly) associated, resulting in a much large size that overflowed the machine integer
  • The take and drop fusion combinators failed to clamp negative counts, resulting in underflows.

In addition it does a fair bit of spring cleaning, adding GHC 8.6.1 to the Tested-With configuration list, dropping a redundant bug-reports field, and regenerating travis.yml.

.travis.yml Outdated
- compiler: "ghc-8.6.1"
env: GHCHEAD=true
addons: {apt: {packages: [ghc-ppa-tools,cabal-install-head,ghc-8.6.1], sources: [hvr-ghc]}}
# Fails due to GHC #15436
Copy link
Member

Choose a reason for hiding this comment

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

When you say "fails", is it the entire library that fails to build? Just the tests?

If it's the former, we shouldn't list GHC 8.4.3 under tested-with. If it's the latter, maybe we should uncomment this and simply enable TEST=--disable-tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just the tests.

If it's the former, we shouldn't list GHC 8.4.3 under tested-with. If it's the latter, maybe we should uncomment this and simply enable TEST=--disable-tests.

Sounds good to me.

@hvr
Copy link
Member

hvr commented Aug 23, 2018

@bgamari I need to start writing down all the issues w/ GHC 8.4.3 I'd like to see resolved in a GHC 8.4.4 point rls...

@hvr hvr mentioned this pull request Aug 23, 2018
@bgamari
Copy link
Contributor Author

bgamari commented Aug 27, 2018

How is this looking?

@hvr hvr merged commit bc54cce into haskell:master Aug 27, 2018
@hvr
Copy link
Member

hvr commented Aug 27, 2018

@bgamari good :-)

But I'll test it locally a bit more

@hvr hvr added this to the 1.2.3.1 milestone Aug 28, 2018
bgamari added a commit to bgamari/ghc that referenced this pull request Oct 5, 2018
This introduces the fix for haskell/text#229.
bgamari added a commit to bgamari/ghc that referenced this pull request Oct 5, 2018
This introduces the fix for haskell/text#229.
@bgamari bgamari mentioned this pull request Jul 21, 2021
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.

3 participants