You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6170 Reporter: furuse Assigned to:@bobzhang Status: closed (set by @xavierleroy on 2015-12-11T18:24:07Z) Resolution: fixed Priority: normal Severity: major Version: 4.01.0+beta/+rc Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
It seems that camlp4o's locations for identifiers are not cover the all Longident.ts but only point to the last Lident compoments.
For example, X.x is parsed by camlp4o as Pexp_ident {loc}, where loc only points the part of 'x', not the whole 'X.x'.
This requires a workaround of handling identifier's locations for applications which utilize cmt files like ocamlspotter and probably Typerex.
The text was updated successfully, but these errors were encountered:
Original bug ID: 6170
Reporter: furuse
Assigned to: @bobzhang
Status: closed (set by @xavierleroy on 2015-12-11T18:24:07Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 4.01.0+beta/+rc
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
It seems that camlp4o's locations for identifiers are not cover the all Longident.ts but only point to the last Lident compoments.
For example, X.x is parsed by camlp4o as Pexp_ident {loc}, where loc only points the part of 'x', not the whole 'X.x'.
This requires a workaround of handling identifier's locations for applications which utilize cmt files like ocamlspotter and probably Typerex.
The text was updated successfully, but these errors were encountered: