You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Not sure if I'm doing something wrong or not. I've created a very small repo where you can reproduce the error https://github.com/k-bx/docbug
The library code is as simple as:
moduleSomeLibwhere-- $setup-- let x = 1importData.Monoid--|-- >>> add 1 1-- 2add::Int->Int->Int
add x y = x + y
When I run stack test, I get:
$ stack test
docbug-0.1.0.0: test (suite: doctests)
src/SomeLib.hs:5:1: error: parse error on input ‘import’
Test suite failure for package docbug-0.1.0.0
doctests: exited with: ExitFailure 1
Logs printed to console