Coder Social home page Coder Social logo

A new version about doctest HOT 9 CLOSED

sol avatar sol commented on June 9, 2024
A new version

from doctest.

Comments (9)

sol avatar sol commented on June 9, 2024

I'll try to take care of it soon, hopefully tonight.

from doctest.

sol avatar sol commented on June 9, 2024

Released to Hackage as 0.9.10.

BTW: One test fails for my version of GHC (7.7.20131026). @kazu-yamamoto Do you have a more recent build? If yes, can you check whether all tests pass for you?

from doctest.

kazu-yamamoto avatar kazu-yamamoto commented on June 9, 2024

If we use the sandbox of cabal, we have one failure as I explained a while ago. This is due to a path problem in a shell script (if I remember correctly).

If we don't use the sandbox, all tests should be passed.

I think we can fix it. But I don't know it's worth fixing.

from doctest.

kazu-yamamoto avatar kazu-yamamoto commented on June 9, 2024

FYI. You should get this failure even with GHC 7.6.3 if the sandbox is used.

from doctest.

sol avatar sol commented on June 9, 2024

@kazu-yamamoto For me doctest fails on test/integration/template-haskell/Foo.hs. This one works for you?

from doctest.

kazu-yamamoto avatar kazu-yamamoto commented on June 9, 2024

Never mind what I said. I tested again with the sandbox. I got a failure on spec with GHC head (both on Mac and Linux):

1) Main.doctest template-haskell
uncaught exception: ExitCode (ExitFailure 1)

With GHC 7.6.3, all tests has been passed even with the sandbox.

from doctest.

sol avatar sol commented on June 9, 2024

Yesterday I figured out that an explicit type annotation :: String to the string that is created by printf helps. Looks like a regression in GHC. I guess we should report it to the GHC trac. Sadly, I'm somewhat swamped. Can you take care?

from doctest.

kazu-yamamoto avatar kazu-yamamoto commented on June 9, 2024

Done in abce03d.

from doctest.

kazu-yamamoto avatar kazu-yamamoto commented on June 9, 2024

I meant that all tests have passed for GHC 7.7 with this patch.

from doctest.

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.