Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camlp4.PreCast.OCamlr.print_implem doesn't produce revised syntax #4929

Closed
vicuna opened this issue Nov 25, 2009 · 2 comments
Closed

Camlp4.PreCast.OCamlr.print_implem doesn't produce revised syntax #4929

vicuna opened this issue Nov 25, 2009 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Nov 25, 2009

Original bug ID: 4929
Reporter: @ygrek
Assigned to: ertai
Status: closed (set by @xavierleroy on 2012-03-24T14:01:47Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.1
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

Always prints in original. Patch attached.

Additional information

$ cat q2.ml
open Camlp4.PreCast;
value _loc = Loc.mk "";
value make s = <:str_item< value x = fun [ A x -> x y ]; >>;
value () = Printers.OCamlr.print_implem (make "hello");

$ ocaml dynlink.cma camlp4rf.cma -init q2.ml
Objective Caml version 3.11.1

Camlp4 Parsing version 3.11.1

let x = function | A x -> x y;;

File attachments

@vicuna
Copy link
Author

vicuna commented Jun 15, 2010

Comment author: @ygrek

Please apply the patch.

@vicuna
Copy link
Author

vicuna commented Jun 16, 2010

Comment author: ertai

Applied. Thanks for the report and the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant