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: 6073 Reporter:@lpw25 Assigned to:@alainfrisch Status: closed (set by @xavierleroy on 2015-12-11T18:21:03Z) Resolution: fixed Priority: normal Severity: minor Version: 4.00.1 Target version: 4.01.0+dev Fixed in version: 4.01.0+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
At the moment Tstr_include has the definition:
Tstr_include of module_expr * Ident.t list
where the second field lists the value idents defined by the include. This means that there is no way (easy) way to tell what non-value idents are defined by the include.
It would be better if it kept the full included signature (like Tsig_include does):
Tstr_include of module_expr * Types.signature
I've attached a small patch to make this change. It would be quite useful if this could be included in 4.01.0 as it will make generating documentation from .cmt files easier.
What about using the mod_type field of the module_expr argument? (If it is a Mty_signature, you have it. Maybe it can also be a Mty_ident -- I'm not sure -- in that case you need to use Mtype.scrape on it.)
Original bug ID: 6073
Reporter: @lpw25
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:21:03Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.00.1
Target version: 4.01.0+dev
Fixed in version: 4.01.0+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
At the moment Tstr_include has the definition:
Tstr_include of module_expr * Ident.t list
where the second field lists the value idents defined by the include. This means that there is no way (easy) way to tell what non-value idents are defined by the include.
It would be better if it kept the full included signature (like Tsig_include does):
Tstr_include of module_expr * Types.signature
I've attached a small patch to make this change. It would be quite useful if this could be included in 4.01.0 as it will make generating documentation from .cmt files easier.
File attachments
The text was updated successfully, but these errors were encountered: