Coder Social home page Coder Social logo

Comments (6)

snoyberg avatar snoyberg commented on August 25, 2024

I don't reproduce

from shakespeare.

felixonmars avatar felixonmars commented on August 25, 2024

It's not 100% reproducible here either. The actual text can change too:

Failures:

  test/Text/HamletSpec.hs:598:16:
  1) Text.Hamlet non-ascii
       expected: "\1506\1460\1489\1456\1512\1460\1497"
        but got: "\1506\63702\64855\62614\64599\64086\64855\62912non-ascii"

  To rerun use: --match "/Text.Hamlet/non-ascii/"

Randomized with seed 1311112565

from shakespeare.

snoyberg avatar snoyberg commented on August 25, 2024

Do you see this with older versions of GHC as well? What OS are you running this on?

from shakespeare.

felixonmars avatar felixonmars commented on August 25, 2024

It's not reproducible with older versions of GHC. The OS is Arch Linux running on x86_64.

from shakespeare.

snoyberg avatar snoyberg commented on August 25, 2024

I'm going to take a guess that it might be a GHC bug, though I can't really be certain. A quick search led to this, which looks similar:

https://www.reddit.com/r/haskell/comments/o52eo6/strange_unicode_behavior_in_ghc_901/

I'll consider this an issue if it repros against 9.0.2.

from shakespeare.

felixonmars avatar felixonmars commented on August 25, 2024

I have tried to apply the fix in https://gitlab.haskell.org/ghc/ghc/-/issues/19976 and this is no longer reproducible.

Thanks for investigating!

from shakespeare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.