jgm/gitit — Issue #278: Please support aeson-0.4.0.0
Author: peti
Created: 2011-12-01 13:29:44+00:00
State: open

The current release version of `gitit` fails to compile with the latest `aeson` library:

Web/Authenticate/OAuth.hs:275:1:
Warning: Pattern match(es) are non-exhaustive
In an equation for `toLBS':
Patterns not matched: RequestBodyEnumChunked _
[ 5 of 12] Compiling Web.Authenticate.OpenId.Providers ( Web/Authenticate/OpenId/Providers.hs, dist/build/Web/Authenticate/OpenId/Providers.o )
[ 6 of 12] Compiling Web.Authenticate.BrowserId ( Web/Authenticate/BrowserId.hs, dist/build/Web/Authenticate/BrowserId.o )

Web/Authenticate/BrowserId.hs:32:35:
Couldn't match expected type `Map.Map k0 a0'
with actual type `unordered-containers-0.1.4.3:Data.HashMap.Common.HashMap
Text Value'
Expected type: Map.Map k0 a0
Actual type: aeson-0.4.0.0:Data.Aeson.Types.Internal.Object
In the second argument of `Map.lookup', namely `o'
In the expression: Map.lookup "status" o