tfausak / flow

:droplet: Write more understandable Haskell.
https://hackage.haskell.org/package/flow
MIT License
198 stars 10 forks source link

Test suite failure with GHC 8 #10

Closed snoyberg closed 8 years ago

snoyberg commented 8 years ago
> /tmp/stackage-build8/flow-1.0.6$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup configure --enable-tests --package-db=clear --package-db=global --package-db=/home/stackage/work/builds/nightly/pkgdb --libdir=/home/stackage/work/builds/nightly/lib --bindir=/home/stackage/work/builds/nightly/bin --datadir=/home/stackage/work/builds/nightly/share --libexecdir=/home/stackage/work/builds/nightly/libexec --sysconfdir=/home/stackage/work/builds/nightly/etc --docdir=/home/stackage/work/builds/nightly/doc/flow-1.0.6 --htmldir=/home/stackage/work/builds/nightly/doc/flow-1.0.6 --haddockdir=/home/stackage/work/builds/nightly/doc/flow-1.0.6 --flags=
Configuring flow-1.0.6...
> /tmp/stackage-build8/flow-1.0.6$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup build
Building flow-1.0.6...
Preprocessing library flow-1.0.6...
[1 of 2] Compiling Paths_flow       ( dist/build/autogen/Paths_flow.hs, dist/build/Paths_flow.o )
[2 of 2] Compiling Flow             ( Flow.hs, dist/build/Flow.o )
Preprocessing test suite 'flow-test-suite' for flow-1.0.6...
[1 of 1] Compiling Main             ( FlowTest.hs, dist/build/flow-test-suite/flow-test-suite-tmp/Main.o )
Linking dist/build/flow-test-suite/flow-test-suite ...
> /tmp/stackage-build8/flow-1.0.6$ dist/build/flow-test-suite/flow-test-suite
### Failure in Flow.hs:175: expression `undefined !> const True'
expected: *** Exception: Prelude.undefined
 but got: *** Exception: Prelude.undefined
          CallStack (from HasCallStack):
            error, called at libraries/base/GHC/Err.hs:79:14 in base:GHC.Err
            undefined, called at <interactive>:401:1 in interactive:Ghci14
### Failure in Flow.hs:200: expression `const True <! undefined'
expected: *** Exception: Prelude.undefined
 but got: *** Exception: Prelude.undefined
          CallStack (from HasCallStack):
            error, called at libraries/base/GHC/Err.hs:79:14 in base:GHC.Err
            undefined, called at <interactive>:469:15 in interactive:Ghci14
### Failure in Flow.hs:222: expression `apply' undefined (const True)'
expected: *** Exception: Prelude.undefined
 but got: *** Exception: Prelude.undefined
          CallStack (from HasCallStack):
            error, called at libraries/base/GHC/Err.hs:79:14 in base:GHC.Err
            undefined, called at <interactive>:537:8 in interactive:Ghci14
Examples: 38  Tried: 38  Errors: 0  Failures: 3
snoyberg commented 8 years ago

FYI, the test suites now appear to fail for GHC < 8. I've disabled the test suites for LTS 6.

tfausak commented 8 years ago

I'm alright with that as long as it's not a problem for Stackage.

snoyberg commented 8 years ago

It just means that we won't be able to catch semantic breakages in future release of LTS Haskell.