Skip to content
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

endOfInput when trying to compare Cabal 1.24.0.0 and 1.24.1.0 #6

Open
23Skidoo opened this issue Dec 1, 2016 · 1 comment
Open

Comments

@23Skidoo
Copy link
Contributor

23Skidoo commented Dec 1, 2016

This is what I get when trying to compare Cabal 1.24.1.0 API with 1.24.0.0:

$ hackage-diff Cabal 1.24.0.0 1.24.1.0
Downloading / Reading Hoogle DBs...
Parsing Hoogle DBs...
endOfInput

Would be nice if the error was a bit more informative at least.

@blitzcode
Copy link
Owner

I probably should have used a parser combinator library with better error messages than attoparsec. For now there isn't really any information I can display.

The problem is that the Hoogle DB format changed with v5. I investigated this a bit when the change originally happened. IIRC I did not figure out completely why there was a change and pushed some fixes that seemed to fix the majority of the errors. IIRC there was another breaking change after that. I'm waiting for Hoogle 5 to be out of 'alpha' status before I take another look at the parser. It's probably going to be a bit hit & miss till then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants