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

Exception: recoverDecode: invalid argument (invalid byte sequence) (GHC 9.0.1) #20

Closed
pjones opened this issue Jun 2, 2021 · 0 comments

Comments

@pjones
Copy link

pjones commented Jun 2, 2021

$ nix-build -A haskell.packages.ghc901.text-short '<nixpkgs>'
...
Test suite tests: RUNNING...     
Tests                                                                                                     
  Unit-tests                                         
    fromText mempty:                      OK                                                              
    fromShortByteString [0xc0,0x80]:      OK                                                              
    fromByteString [0xc0,0x80]:           OK        
    fromByteString [0xf0,0x90,0x80,0x80]: OK                                                              
    fromByteString [0xf4,0x90,0x80,0x80]: OK                                                              
    IsString U+D800:                      FAIL
      Exception: recoverDecode: invalid argument (invalid byte sequence)                                  
...

How can I help get this resolved?

@phadej phadej closed this as completed in 09b13e5 Oct 10, 2021
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Feb 11, 2022
0.1.5
* text-2.0 support

0.1.4
* Fix fromString for single character
  strings. haskell-hvr/text-short#20
* Add Template Haskell Lift ShortText instance.
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

No branches or pull requests

1 participant