Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005654OCaml~DO NOT USE (was: OCaml general)public2012-06-19 10:202012-06-19 12:45
Assigned Togarrigue 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version4.00.0+beta2/+rc1 
Summary0005654: self pattern variable location tweak for OCaml 4.00.0 beta
DescriptionDuring 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.
TagsNo tags attached.
Attached Files? file icon diff [^] (2,200 bytes) 2012-06-19 10:20 [Show Content]

- Relationships

-  Notes
garrigue (manager)
2012-06-19 12:45

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).

- Issue History
Date Modified Username Field Change
2012-06-19 10:20 furuse New Issue
2012-06-19 10:20 furuse File Added: diff
2012-06-19 11:49 garrigue Assigned To => garrigue
2012-06-19 11:49 garrigue Status new => assigned
2012-06-19 12:45 garrigue Note Added: 0007578
2012-06-19 12:45 garrigue Status assigned => closed
2012-06-19 12:45 garrigue Resolution open => fixed
2012-06-19 12:45 garrigue Fixed in Version => 4.00.0+beta2/+rc1
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker