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
If compat/ghc-7.10 branch is build on ghc 7.10 there are a bunch of warnings:
on the commandline: Warning:
`Control.Eff.Writer.Strict' is marked as Trustworthy but has been inferred as safe!
This happens because starting from 7.10 ghc checks if module is more safe than it's marked.
The problem here is that there is no obvious simple solution for the case when Trustworthy is set in default-extenstion, because adding {-# LANGUAGE Safe #-} will conflict with Trustworthy and there is no NoTrustworthy pragma to disable Trustworthy.
As a solution I'd suggest removing Trustworthy from default-extensions and set it only in relevant modules.
The text was updated successfully, but these errors were encountered:
- deal with warnings as a result of AMP
- use ticks to denote promoted data constructors such as 'True
compat/ghc-7.10: expose Data.OpenUnion.Imports
compat/ghc-7.10: fix: use Trustworthy selectively
in ghc < 7.8 we have to write a Typeable instances for Control.Eff.Lift
and Control.Eff.Operational by hand, this makes them Trustworthy instead
of Safe.
fixes#34
If
compat/ghc-7.10
branch is build on ghc 7.10 there are a bunch of warnings:This happens because starting from 7.10 ghc checks if module is more safe than it's marked.
The problem here is that there is no obvious simple solution for the case when
Trustworthy
is set indefault-extenstion
, because adding{-# LANGUAGE Safe #-}
will conflict withTrustworthy
and there is noNoTrustworthy
pragma to disable Trustworthy.As a solution I'd suggest removing
Trustworthy
fromdefault-extensions
and set it only in relevant modules.The text was updated successfully, but these errors were encountered: