-
Notifications
You must be signed in to change notification settings - Fork 345
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
Support GHC 8.2.1 #2540
Comments
The warning was: Literal -1 is out of the GHC.Word.Word64 range 0..18446744073709551615
Version 1.6.0.0 of the process library is shipped with GHC 8.2.1 RC2.
GHC 8.2.1 RC2 is reporting a heap exhausted error only on master when testing #1829:
|
While testing the build using GHC 8.2.1 RC 3, I found the following error: $ make install-bin
...
[15 of 49] Compiling InternalTests.TypeChecking.Coverage.SplitTree ( test/InternalTests/TypeChecking/Coverage/SplitTree.hs, dist-2.5.3/build/internal-tests/internal-tests-tmp/InternalTests/TypeChecking/Coverage/SplitTree.o )
test/InternalTests/TypeChecking/Coverage/SplitTree.hs:14:22: error:
Variable not in scope:
defaultArg :: a0 -> Agda.Syntax.Common.Arg Int
|
14 | , (3, (SplitAt . defaultArg) <$> choose (1,5) <*> (take 3 <$> listOf1 arbitrary))
| It seems that the first report of this error in Travis was here. |
I can fix the error by adding import Agda.Syntax.Common I don't understand why the importation is only required by GHC 8.2.1 RC 3. Any idea? |
When I try to load this file into |
GHC version? |
The problem was fixed by removing an unused module.
The problem was caused by an unused module which is compiled by GHC 8.2.1 RC3 but it isn't compiled by previous versions of GHC including 8.2.1 RC 2. I think GHC 8.2.1 RC3 is doing the right thing. |
7.10.x But, surely it should complain about |
Yes.
It isn't possible. GHC/Cabal were ignoring the module. In your case, your load the module in GHCi and you get the expected error. |
There is a test case failing with GHC 8.2.1.
GHC 8.2.1 was released. Except for a test case failing, Agda supports this version of GHC. I'll file a new issue for reporting the problem with the test case. |
`make haddock` fails when this flag is on.
See #2702. |
Edited on 2017-07-08: Using GHC 8.2.1 RC 3 the current issues are:
Missing Travis testGHC warningsBroken compilation of hTagsboxes library (see Missing support for GHC 8.2.1 haskell-boxes/boxes#26)geniplate-mirror library (see Supported GHC 8.2.1 danr/geniplate#8)hashable library (see Build error when installing hashable 1.2.6.1 with GHC 8.2.1 RC2 haskell-unordered-containers/hashable#142)split library (see http://hub.darcs.net/byorgey/split/issue/7)vector library (see Make it build with ghc 8.2 haskell/vector#161)The text was updated successfully, but these errors were encountered: