Comments (4)
@robinp I can't reproduce this. Can you please add the output of doctest --version
?
BTW: Sorry for the slow turnaround ;)
from doctest.
Hello, just cabal-installed doctest and retried, same message. Versions:
$ doctest --version
doctest version 0.9.5.1
using version 7.4.1 of the GHC API
using /usr/lib/ghc/bin/ghc-7.4.1
from doctest.
This seems to be a bug in ghc-7.4.1
/ghc-7.4.2
. Doctest uses GHCi under the hood, so things that do not work in GHCi won't work with Doctest.
If you upgrade to ghc-7.6.1
or ghc-7.6.2
then your example will work both in GHCi and with Doctest.
from doctest.
I'm closing this because I think there is nothing we can do about this in Doctest.
@robinp If you have any ideas how to address this then please open a pull request ;)
from doctest.
Related Issues (20)
- doctest dependencies HOT 2
- Print timing for each test execution in verbose mode
- Incompatible with markdown-unlit? HOT 1
- Doctest suite built with GHC 8.10.4 doesn't finish on Windows HOT 2
- "not in scope" errors when running with GHC 9 + stack test HOT 26
- doctest's doctests failing with GHC 8 & 9 HOT 14
- doctest's spec tests failing with GHC 9 HOT 4
- certain CPPs cause doctests to be ignored HOT 1
- Support GHC 9.2 HOT 2
- doctest extracts examples from code blocks
- New major version? HOT 1
- I could discuss if you wouldn't limit discussion. HOT 1
- Weird test failure due to type error with GHC 9.2.1 HOT 5
- "not in scope" errors when running with GHC 9 + stack test; redux HOT 20
- Disable test without changing rendering HOT 1
- 0.20.0 doesn't build on ghc 9.4.2 HOT 6
- 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
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.