Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

int-cast-0.1.2.0 does not compile with GHC 8.4.1 #3

Closed
peti opened this issue Mar 22, 2018 · 2 comments
Closed

int-cast-0.1.2.0 does not compile with GHC 8.4.1 #3

peti opened this issue Mar 22, 2018 · 2 comments

Comments

@peti
Copy link

peti commented Mar 22, 2018

Configuring int-cast-0.1.2.0...
Dependency QuickCheck -any: using QuickCheck-2.10.1
Dependency base -any: using base-4.11.0.0
Dependency int-cast -any: using int-cast-0.1.2.0
Dependency test-framework -any: using test-framework-0.8.2.0
Dependency test-framework-quickcheck2 -any: using
test-framework-quickcheck2-0.3.0.4
Source component graph:
    component lib
    component test:int-cast-test dependency lib
Configured component graph:
    component int-cast-0.1.2.0-4tBxsukrjhQ5yZHRPorxnT
        include base-4.11.0.0
    component int-cast-0.1.2.0-KqcZLQ3ktk11cDA35E6Pd3-int-cast-test
        include int-cast-0.1.2.0-4tBxsukrjhQ5yZHRPorxnT
        include base-4.11.0.0
        include QuickCheck-2.10.1-CbgtHLlDxiaFiLP2gWIbBW
        include test-framework-0.8.2.0-F7UQfdPYM1oGur1jtp73lc
        include test-framework-quickcheck2-0.3.0.4-9ohw4xBY2VZ51JanR5ESUg
Linked component graph:
    unit int-cast-0.1.2.0-4tBxsukrjhQ5yZHRPorxnT
        include base-4.11.0.0
        Data.IntCast=int-cast-0.1.2.0-4tBxsukrjhQ5yZHRPorxnT:Data.IntCast
    unit int-cast-0.1.2.0-KqcZLQ3ktk11cDA35E6Pd3-int-cast-test
        include int-cast-0.1.2.0-4tBxsukrjhQ5yZHRPorxnT
        include base-4.11.0.0
        include QuickCheck-2.10.1-CbgtHLlDxiaFiLP2gWIbBW
        include test-framework-0.8.2.0-F7UQfdPYM1oGur1jtp73lc
        include test-framework-quickcheck2-0.3.0.4-9ohw4xBY2VZ51JanR5ESUg
Ready component graph:
    definite int-cast-0.1.2.0-4tBxsukrjhQ5yZHRPorxnT
        depends base-4.11.0.0
    definite int-cast-0.1.2.0-KqcZLQ3ktk11cDA35E6Pd3-int-cast-test
        depends int-cast-0.1.2.0-4tBxsukrjhQ5yZHRPorxnT
        depends base-4.11.0.0
        depends QuickCheck-2.10.1-CbgtHLlDxiaFiLP2gWIbBW
        depends test-framework-0.8.2.0-F7UQfdPYM1oGur1jtp73lc
        depends test-framework-quickcheck2-0.3.0.4-9ohw4xBY2VZ51JanR5ESUg
Using Cabal-2.2.0.0 compiled by ghc-8.4
Using compiler: ghc-8.4.1
Using install prefix:
/nix/store/5735w8qy34yyiyi6s8sbpigz189wv05n-int-cast-0.1.2.0
Executables installed in:
/nix/store/5735w8qy34yyiyi6s8sbpigz189wv05n-int-cast-0.1.2.0/bin
Libraries installed in:
/nix/store/5735w8qy34yyiyi6s8sbpigz189wv05n-int-cast-0.1.2.0/lib/ghc-8.4.1/int-cast-0.1.2.0
Dynamic Libraries installed in:
/nix/store/5735w8qy34yyiyi6s8sbpigz189wv05n-int-cast-0.1.2.0/lib/ghc-8.4.1/x86_64-linux-ghc-8.4.1
Private executables installed in:
/nix/store/5735w8qy34yyiyi6s8sbpigz189wv05n-int-cast-0.1.2.0/libexec/x86_64-linux-ghc-8.4.1/int-cast-0.1.2.0
Data files installed in:
/nix/store/5735w8qy34yyiyi6s8sbpigz189wv05n-int-cast-0.1.2.0/share/x86_64-linux-ghc-8.4.1/int-cast-0.1.2.0
Documentation installed in:
/nix/store/lq0vw3i9n2lbahiq5bvgx60wanbbs4vd-int-cast-0.1.2.0-doc/share/doc
Configuration files installed in:
/nix/store/5735w8qy34yyiyi6s8sbpigz189wv05n-int-cast-0.1.2.0/etc
No alex found
Using ar found on system at:
/nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 7.3.0 given by user at:
/nix/store/4r5kszyy0iirc5agfah45lvz7mnnsrb4-gcc-wrapper-7.3.0/bin/gcc
Using ghc version 8.4.1 found on system at:
/nix/store/8cdbwmwrlx4hxnpvil2ddmnk7y2bki4s-ghc-8.4.1/bin/ghc
Using ghc-pkg version 8.4.1 found on system at:
/nix/store/8cdbwmwrlx4hxnpvil2ddmnk7y2bki4s-ghc-8.4.1/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.19.0 found on system at:
/nix/store/8cdbwmwrlx4hxnpvil2ddmnk7y2bki4s-ghc-8.4.1/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/8cdbwmwrlx4hxnpvil2ddmnk7y2bki4s-ghc-8.4.1/bin/hpc
Using hsc2hs version 0.68.3 found on system at:
/nix/store/8cdbwmwrlx4hxnpvil2ddmnk7y2bki4s-ghc-8.4.1/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/p6qm3s4h4nx2x7f5ghbpih28gs6cr87m-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/1is4c0vfcs0q5i3ygij21y6z713lihw9-binutils-wrapper-2.28.1/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using runghc version 8.4.1 found on system at:
/nix/store/8cdbwmwrlx4hxnpvil2ddmnk7y2bki4s-ghc-8.4.1/bin/runghc
Using strip version 2.28 found on system at:
/nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
Using tar found on system at:
/nix/store/rng0r3whml1jql1s6ps11v7f8cxmna04-gnutar-1.30/bin/tar
No uhc found
building
Preprocessing library for int-cast-0.1.2.0..
Building library for int-cast-0.1.2.0..
[1 of 1] Compiling Data.IntCast     ( Data/IntCast.hs, dist/build/Data/IntCast.o )

Data/IntCast.hs:184:1: error:
    • Illegal instance for closed family ‘==’
    • In the type instance declaration for ‘==’
    |
184 | type instance a == b = IsIntBaseTypeEq a b
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@hvr
Copy link
Collaborator

hvr commented Mar 22, 2018

Well, yeah... that's why I didn't relax the upper bound in int-cast-0.1.2.0... but I didn't yet have time to look into this

hvr added a commit that referenced this issue Apr 3, 2018
This requires a major ver bump since we have to drop a type fam
instance for ==

Addresses #3
@hvr
Copy link
Collaborator

hvr commented Apr 3, 2018

This has been resolved as per http://hackage.haskell.org/package/int-cast-0.2.0.0

@hvr hvr closed this as completed Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants