Closed sjakobi closed 7 years ago
Similar compile failure with aeson-1.1.0.0: http://hackage.haskell.org/package/vgrep-0.2.0.0/reports/1
…and with aeson-1.0.0.0:
/home/simon/src/vgrep/src/Vgrep/Environment/Config/Sources/File.hs:309:17: error:
• Overlapping instances for FromJSON (Map Key.Chord Command)
arising from a use of ‘genericParseJSON’
Matching instances:
instance (aeson-1.0.0.0:Data.Aeson.Types.FromJSON.FromJSONKey k,
Ord k, FromJSON v) =>
FromJSON (Map k v)
-- Defined in ‘aeson-1.0.0.0:Data.Aeson.Types.FromJSON’
instance FromJSON (Map Key.Chord Command)
-- Defined at src/Vgrep/Environment/Config/Sources/File.hs:314:10
• In the expression: genericParseJSON jsonOptions
In an equation for ‘parseJSON’:
parseJSON = genericParseJSON jsonOptions
In the instance declaration for ‘FromJSON KeybindingsMonoid’
I'd recommend that you make a Hackage revision of vgrep-0.2.0.0 with a bound of aeson < 1
.
I'm working on a fix for aeson >= 1.
I'm working on a fix for aeson >= 1.
Right, the upper bound is actually missing. Fixed it on master and updated hackage.
Thanks!