Skip to content

Commit 8f5170b

Browse files
committed
Fix ambiguous type error only manifesting on GHC 7.10.x
1 parent d79b665 commit 8f5170b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Data/Aeson/Parser/Internal.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ eitherDecodeWith p to s =
277277
IError path msg -> Left (path, msg)
278278
L.Fail _ ctx msg -> Left ([], buildMsg ctx msg)
279279
where
280+
buildMsg :: [String] -> String -> String
280281
buildMsg [] msg = msg
281282
buildMsg (expectation:_) msg =
282283
msg ++ ". Expecting " ++ expectation

0 commit comments

Comments
 (0)