Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005900OCamlOCamldocpublic2013-01-22 22:232013-07-28 23:31
ReporterHendrik Tews 
Assigned Toguesdon 
PrioritynormalSeverityfeatureReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version4.00.1 
Target VersionFixed in Version 
Summary0005900: please add location info to record fields and variant constructors
DescriptionHi,

for more precise error messages, it would be nice to have *_loc fields in Odoc_info.Type.record_field and variant_constructor.

I would further suggest to tell in the compilation instructions for custom generators (in the manual) that "-I +compiler-libs" is needed, when accessing location information. I would actually prefer that Location.t is reexported somewhere, such that "-I +compiler-libs" is not needed.

Bye,

Hendrik
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0009952)
gasche (developer)
2013-07-28 23:31

It looks like the location information would have to be added in the typedtree first, to type_kind in typing/types.ml, as this is where ocamldoc gets its information about record fields.

- Issue History
Date Modified Username Field Change
2013-01-22 22:23 Hendrik Tews New Issue
2013-01-22 22:23 Hendrik Tews Status new => assigned
2013-01-22 22:23 Hendrik Tews Assigned To => guesdon
2013-07-28 23:31 gasche Note Added: 0009952


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker