forked from dbpatterson/authenticate
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
When I build authenticate-1.3.5 with aeson-2.0.1.0, I get the following errors:
Web/Authenticate/BrowserId.hs:36:35: error:
• Couldn't match type ‘Data.Aeson.KeyMap.KeyMap Value’
with ‘Map.HashMap k0 Value’
Expected type: Map.HashMap k0 Value
Actual type: aeson-2.0.1.0:Data.Aeson.Types.Internal.Object
• In the second argument of ‘Map.lookup’, namely ‘o’
In the expression: Map.lookup "status" o
In the expression: (Map.lookup "status" o, Map.lookup "email" o)
|
36 | case (Map.lookup "status" o, Map.lookup "email" o) of
| ^
Web/Authenticate/BrowserId.hs:36:57: error:
• Couldn't match type ‘Data.Aeson.KeyMap.KeyMap Value’
with ‘Map.HashMap k1 Value’
Expected type: Map.HashMap k1 Value
Actual type: aeson-2.0.1.0:Data.Aeson.Types.Internal.Object
• In the second argument of ‘Map.lookup’, namely ‘o’
In the expression: Map.lookup "email" o
In the expression: (Map.lookup "status" o, Map.lookup "email" o)
|
36 | case (Map.lookup "status" o, Map.lookup "email" o) of
| ^
Metadata
Metadata
Assignees
Labels
No labels