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

pa_macro does not work for patterns #4596

Closed
vicuna opened this issue Aug 12, 2008 · 2 comments
Closed

pa_macro does not work for patterns #4596

vicuna opened this issue Aug 12, 2008 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Aug 12, 2008

Original bug ID: 4596
Reporter: @Chris00
Assigned to: @bobzhang
Status: closed (set by @diml on 2016-12-07T17:27:29Z)
Resolution: open
Priority: normal
Severity: feature
Version: 3.10.2
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Monitored by: gerd

Bug description

The following

DEFINE X = A
let f = function X -> 1

should be transformed into

let f = function A -> 1

but is not. (For your convenience, the example is attached as a file.)

File attachments

@vicuna
Copy link
Author

vicuna commented Jul 29, 2013

Comment author: @gasche

Reproduced under 4.01+dev.

@vicuna
Copy link
Author

vicuna commented Dec 7, 2016

Comment author: @diml

Camlp4 is now a separate project. Please re-open a ticket on github [1] if you are still interested in seeing the original issue fixed.

[1] https://github.com/ocaml/camlp4/issues

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