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: 5654 Reporter: furuse Assigned to:@garrigue Status: closed (set by @garrigue on 2012-06-19T10:45:32Z) Resolution: fixed Priority: normal Severity: tweak Fixed in version: 4.00.0+beta2/+rc1 Category: ~DO NOT USE (was: OCaml general)
Bug description
During porting OCamlSpotter to 4.00.0, I found the hidden function argument self-n for methods are defined with noloc.
This is sad for I and probably OCamlPro guys who work on tools like OCamlSpotter and TypeRex. It would be nice if their locations are equal to the corresponding (self) parameters at object (self). I put a patch for it. The patch only fixes the location of self-n. Probably self-*'s location should be fixed too.
Applied slightly modified patch (using ghost locations, and self-* too) to trunk and 4.00, at revision 12614.
Note that self-* is less important, since it is used by overriding, so that there is no guarantee that there is an actual location, and moreover overriding applies only to the current object (not an enclosing one, like for variable accesses).
Original bug ID: 5654
Reporter: furuse
Assigned to: @garrigue
Status: closed (set by @garrigue on 2012-06-19T10:45:32Z)
Resolution: fixed
Priority: normal
Severity: tweak
Fixed in version: 4.00.0+beta2/+rc1
Category: ~DO NOT USE (was: OCaml general)
Bug description
During porting OCamlSpotter to 4.00.0, I found the hidden function argument self-n for methods are defined with noloc.
This is sad for I and probably OCamlPro guys who work on tools like OCamlSpotter and TypeRex. It would be nice if their locations are equal to the corresponding (self) parameters at object (self). I put a patch for it. The patch only fixes the location of self-n. Probably self-*'s location should be fixed too.
File attachments
The text was updated successfully, but these errors were encountered: