Comments (6)
#382 by @eddiejessup looks promising, but there's a possible space leak that needs investigation.
from doctest.
Just a shout that #382 is now merged, so if the problems are now gone maybe we can close this issue?
from doctest.
Looks like maybe a shim or a bit of CPP is required to switch between the new behaviour of some of these:
Strangely the first one wouldn't work on ghc 9.2 either:
https://hackage.haskell.org/package/ghc-9.0.2/docs/GHC-Runtime-Loader.html#v:initializePlugins
vs
https://hackage.haskell.org/package/ghc-9.2.4/docs/GHC-Runtime-Loader.html#v:initializePlugins
vs
https://hackage.haskell.org/package/ghc-9.4.2/docs/GHC-Runtime-Loader.html#v:initializePlugins
HDS now come in chunks:
https://hackage.haskell.org/package/ghc-9.2.4/docs/GHC-Hs-DocString.html#v:unpackHDS
vs
https://hackage.haskell.org/package/ghc-9.4.2/docs/GHC-Hs-DocString.html#v:unpackHDSC
I also see that there are several PRs in progress:
so I'll be doing my testing on one of those, so awesome job, folks.
from doctest.
Thanks - I see 0.20.1 in Hackage, I'll put it through my pipeline tonight and make sure I can build it with no issues.
from doctest.
@danwdart Did it work? Builds fine for me.
from doctest.
Seems great to me. Nix may have forgotten to remove the check though... I'm just letting them know.
from doctest.
Related Issues (20)
- "not in scope" errors when running with GHC 9 + stack test; redux HOT 20
- Disable test without changing rendering HOT 1
- Invalid platform constants HOT 2
- Error related to OverloadedLists not reported as such HOT 3
- Extra `type-defaults` warnings (from `OverloadedStrings`) make doctests fail HOT 10
- Build failure on GHC 9.6 HOT 1
- How to pass `--fast` when going via `cabal repl`? HOT 1
- `doctest` in multi-GHC setting HOT 6
- One test fails with GHC 9.6.1 HOT 1
- Ci: ubuntu-18.04 will be discontinued soon HOT 1
- Can I focus doctest on a particular function in a module or can I exclude functions from being tested? HOT 2
- GHC 9.4.5, doctest 0.22.0 `$setup import …` does only work with `cabal repl --with-ghc=doctest` HOT 1
- `cabal test` integration (GHC 9.4.5) HOT 7
- cabal repl --enable-multi-repl --with-ghc=doctest fails with "unrecognized option `-unit'" HOT 4
- Unexpected Kind errors when building tests
- Build failure with GHC 9.6 HOT 1
- Could we have multiline expectations? HOT 1
- Support GHC 9.10 HOT 3
- Add `cabal-doctest`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctest.