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: 4526 Reporter: hirokawa Assigned to:@bobzhang Status: closed (set by @xavierleroy on 2015-12-11T18:21:12Z) Resolution: not a bug Priority: normal Severity: feature Version: 3.10.2 Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues Monitored by: hirokawa
Bug description
(from caml-list)
It would be nice if <:str_item< .. >> and <:sig_item< .. >>
generate no redundant nil constructors like SgNil.
The current camlp4o generates redundant nils: for instance,
Original bug ID: 4526
Reporter: hirokawa
Assigned to: @bobzhang
Status: closed (set by @xavierleroy on 2015-12-11T18:21:12Z)
Resolution: not a bug
Priority: normal
Severity: feature
Version: 3.10.2
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Monitored by: hirokawa
Bug description
(from caml-list)
It would be nice if <:str_item< .. >> and <:sig_item< .. >>
generate no redundant nil constructors like SgNil.
The current camlp4o generates redundant nils: for instance,
% cat a.ml
<:sig_item< type t >>
% camlp4of a.ml
Ast.SgSem (_loc,
Ast.SgTyp (_loc, Ast.TyDcl (_loc, "t", [], Ast.TyNil _loc, [])),
Ast.SgNil _loc)
Attached is a patch for that.
File attachments
The text was updated successfully, but these errors were encountered: