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

Does not accept ocaml valid syntax #4232

Closed
vicuna opened this issue Mar 15, 2007 · 1 comment
Closed

Does not accept ocaml valid syntax #4232

vicuna opened this issue Mar 15, 2007 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Mar 15, 2007

Original bug ID: 4232
Reporter: Julien Signoles
Assigned to: ertai
Status: closed (set by @xavierleroy on 2009-03-31T11:03:39Z)
Resolution: not a bug
Priority: normal
Severity: minor
Version: 3.09.2
Fixed in version: 3.11.0
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

===== bug.ml =====
type t = A of int
type u = B of t
let f = function B A x -> x

$ ocamlc -c bug.ml
$ camlp4o bug.ml
File "bug.ml", line 3, characters 17-22:
Parse error: currified constructor
Uncaught exception: Stream.Error("currified constructor")

@vicuna
Copy link
Author

vicuna commented Mar 15, 2007

Comment author: ertai

Already reported, and already fixed in 3.10

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