-
Notifications
You must be signed in to change notification settings - Fork 95
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
Some minor fixes #1271
Some minor fixes #1271
Conversation
cc59c8a
to
639c014
Compare
This commit changes a couple of 'hard errors' -- assert failures -- into something that still not correct, but at least outputs something.
For example, in coq.8.10.0
The problem here is hidden when the odoc and odocl directories are the same, which is the default in odoc_driver.
639c014
to
f6e8fe0
Compare
{ Loc.line; column } | ||
with _ -> | ||
(* Presumably this is the above-mentioned bug that's being hit. *) | ||
{ Loc.line = -1; column = -1 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only thing that raises a Invalid_argument
is the array access at line 68. I think this could be handled better. It's also possible that locator
is not computed right by massage_comment
as it's so complicated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's quite a lot we can do with the markdown code, but I don't want to spend too much time on it until I'm sure people want it and are using it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, let's merge !
This is on top of #1270