|Anonymous | Login | Signup for a new account||2017-02-23 12:52 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005900||OCaml||OCamldoc||public||2013-01-22 22:23||2013-07-28 23:31|
|Target Version||Fixed in Version|
|Summary||0005900: please add location info to record fields and variant constructors|
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.
|Tags||No tags attached.|
|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.|
|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|