I wanted to use the “begin details” environment now that coq.8.12 is finally out, and it turns out it is broken.
I am not sure, but I think this is due to your patch here:
I think the issue lies in the Lexing.new_line lexbuf; you have introduced. Can you explain to me why you did this? To see if I can just propose a PR where it is removed without breaking anything else
@lyxia FTR, I have created a PR with an attempt to fix it. Hope we can fix this to have it merged in 8.12.1, if it exists one day.
new_lines is called to update the current position for errror reporting, so it might be something else I did...
Oh I see. I misunderstood the syntax of begin details, thought it was a standalone tag like the others. Sorry about that.
@lyxia no worries. I am just not sure the call to new_lines is necessary at all, since it is probably already embedded inside details_body.
That's the third thing I broke with that patch... I should work on some tests around that part...
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!