Compile error after bumping dependent-sum, dependent-map packages
Opened this issue · 0 comments
dfordivam commented
Not sure though if this error is related to these packages or something else.
The reflex-platform now uses dependent-map dependent-map >= 0.3 && < 0.4
after this reflex-frp/reflex@1024703
src/Data/GADT/Aeson.hs:59:22: error:
• Could not deduce (constraints-extras-0.3.0.1:Data.Constraint.Extras.ArgDict
(constraints-extras-0.3.0.1:Data.Constraint.Compose.ComposeC
Show f)
k)
arising from the first field of ‘JSONDMap’ (type ‘DMap k f’)
from the context: (constraints-extras-0.3.0.1:Data.Constraint.Extras.ConstraintsFor
k
(constraints-extras-0.3.0.1:Data.Constraint.Compose.ComposeC
Show f),
Data.GADT.Show.GShow k)
bound by the deriving clause for ‘Show (JSONDMap k f)’
at src/Data/GADT/Aeson.hs:59:22-25
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Show (JSONDMap k f))
|
59 | deriving (Eq, Ord, Show, Read)
| ^^^^