-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add labels to json object and list parsing #695
Conversation
Thanks a lot! It would be really nice to have some tests for this, do you think you have time to add them? Probably in Also hlint is nitpicking a bit Data/Aeson/Parser/Internal.hs:128:11: Suggestion: Move brackets to avoid $
Found:
(A.satisfy $ \ w -> w == 44 || w == 125) A.<?>
"expecting ',' or '}'"
Perhaps:
A.satisfy (\ w -> w == 44 || w == 125) A.<?> "expecting ',' or '}'"
Data/Aeson/Parser/Internal.hs:153:13: Suggestion: Move brackets to avoid $
Found:
(A.satisfy $ \ w -> w == 44 || w == 93) A.<?>
"expecting ',' or ']'"
Perhaps:
A.satisfy (\ w -> w == 44 || w == 93) A.<?> "expecting ',' or ']'" |
Sure I'll try get it done this week 👌 |
Should be good now 😄 🤞 |
Nice! The old ghc builds started failing now... looks like we should bump the base compat lower bound to |
Since these values are definitely |
@bergmark bumping I'm neutral on depending on |
Ah, thanks, I misread the base-compat changelog. I pushed a hopefully final fix, weird that it only affected GHC 7.10. |
re -batteries, i prefer it and would be happy to switch to it. |
8f5170b
to
d1364e4
Compare
@bergmark: This is weird, if you click "Details" to look at the progress on Travis it all looks good but GitHub doesn't seem to be picking this up 🤔 |
I'm guessing there was a hiccup in the travis-github integration. No worries. |
Fixes #558
This PR adds better error messages to the parsing of objects and lists.
I'm aware of #559 but this change seems more to the point of giving a better message :)