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

module_type application #5642

Closed
vicuna opened this issue Jun 9, 2012 · 1 comment
Closed

module_type application #5642

vicuna opened this issue Jun 9, 2012 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Jun 9, 2012

Original bug ID: 5642
Reporter: @bobzhang
Status: closed (set by @damiendoligez on 2015-01-09T22:00:32Z)
Resolution: suspended
Priority: normal
Severity: minor
Target version: undecided
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

The right module type application is written this way:
value app mt1 mt2 = match (mt1, mt2) with
[ (<< $id:i1$ >>, << $id:i2$ >>) ->
<< $id: <:ident< $i1$ $i2$ >> $ >>
| _ -> invalid_arg "blabla" ];

I wrote another function before
value f a b = <:module_type< $a$ $b$ >> ;
it was printed as 'value f a b = a'
Should camlp4 here report an error or something more informative?

@vicuna
Copy link
Author

vicuna commented Jan 9, 2015

Comment author: @damiendoligez

Transferred to camlp4/camlp4#73

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