-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
copilot-theorem
: Failure to compile with GHC 9.6.3
#491
Comments
Change Manager: Confirmed that the issue exists. |
Technical Lead: Confirmed that the issue should be addressed. |
Technical Lead: Issue scheduled for fixing in Copilot 3.18.1. Fix assigned to: @ivanperez-keera . |
The module Copilot.Theorem.Misc.Utils, which is marked as safe, imports System.Directory, which in a recent minor update, has been marked as not safe. This makes the import illegal. This commit updates the module Copilot.Theorem.Misc.Utils as trustworthy, so that the import of System.Directory does not lead to a compilation error.
…-Language#491. The modules in Control.Monad.* in mtl >= 2.3 no longer re-export Control.Monad, leading to a number of compilation errors in copilot-theorem. Since mtl >= 2.3 is required for Copilot to work with GHC 9.6 and above, this issue prevents Copilot from compiling with current versions of GHC, including the one in hackage. This commit updates copilot-theorem so that any imports from Control.Monad are explicit and not via re-exports from other modules.
…anguage#491. A recent update to copilot-theorem makes all of Copilot compatible with GHC 9.6. This commit updates the README to reflect such compatibility.
Implementor: Solution implemented, review requested. |
Change Manager: Verified that:
|
Change Manager: Implementation ready to be merged. |
Description
copilot-theorem
is failing to compile with GHC 9.6.3. This is because the moduleControl.Monad.State
no longer re-exportsControl.Monad
, so the functionsap
,forM
,when
,liftM
andliftM2
are not in scope. Another issue is thatSystem.Directory
can no longer be imported safely. These errors are causing the build to fail on hackage, which uses GHC 9.6.3.Type
Additional context
directory-1.3.8.0
violates the Haskell PVP haskell/directory#147Requester
Method to check presence of bug
Compiling with GHC 9.6 fails.
Expected result
Compiling with GHC 9.6 succeeds.
Desired result
Compiling with GHC 9.6 succeeds.
Proposed solution
Modify
copilot-theorem
to importControl.Monad
, and to not importSystem.Directory
safely.Further notes
None.
The text was updated successfully, but these errors were encountered: