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: 5900 Reporter: Hendrik Tews Assigned to:@zoggy Status: assigned (set by Hendrik Tews on 2013-01-22T21:23:31Z) Resolution: open Priority: normal Severity: feature Version: 4.00.1 Category: ocamldoc
Bug description
Hi,
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
The text was updated successfully, but these errors were encountered:
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.
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 5900
Reporter: Hendrik Tews
Assigned to: @zoggy
Status: assigned (set by Hendrik Tews on 2013-01-22T21:23:31Z)
Resolution: open
Priority: normal
Severity: feature
Version: 4.00.1
Category: ocamldoc
Bug description
Hi,
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
The text was updated successfully, but these errors were encountered: