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
last semi column in inside the last expression #7619
Comments
Comment author: @xavierleroy Assuming this is the behavior of this trailing semicolon, how bad is it? who or what piece of code is affected by it? why should someone invest time and effort tracking it down and changing it? |
Comment author: ChriChri Because when writing alternative parser for ocaml, it might be a nightmare to I will try to see if it is easy to fix and submit a pull request ... |
Comment author: ChriChri I think the fix took me 30s ... And will make the position more |
Comment author: ChriChri I submitted a PR on the 4.06.0 branch with
I hope I followed the guidelines ... |
Comment author: @xavierleroy #1387 was merged. |
Original bug ID: 7619
Reporter: ChriChri
Status: resolved (set by @xavierleroy on 2017-10-18T15:11:43Z)
Resolution: fixed
Priority: normal
Severity: tweak
Version: 4.05.0
Fixed in version: 4.06.0 +dev/beta1/beta2/rc1
Category: lexing and parsing
Monitored by: ChriChri @gasche
Bug description
Compiling the following
let f x y = x y; x y;
Produce the following position for the first application:
And this for the second:
The semicolumn is part of the last application, which look wrong
Steps to reproduce
compile the above line with -dparsetree
The text was updated successfully, but these errors were encountered: