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

private rows syntax does not work #4165

Closed
vicuna opened this issue Nov 17, 2006 · 1 comment
Closed

private rows syntax does not work #4165

vicuna opened this issue Nov 17, 2006 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Nov 17, 2006

Original bug ID: 4165
Reporter: pietro
Assigned to: ertai
Status: closed (set by @xavierleroy on 2007-02-21T14:46:28Z)
Resolution: not a bug
Priority: normal
Severity: minor
Version: 3.09.2
Fixed in version: 3.10+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

I've this snippet of code:


type st = [ `A ]

module Make(T: sig type t end with type t = private [> st ] )
= struct
let test = 1
end

it compiles fine with ocamlc , but it fails with camlp4 ...

ocamlfind ocamlc -c -pp "camlp4o -I . pa_extend.cmo q_MLast.cmo " -I
/usr/lib/ocaml/3.09.2/camlp4 pr.ml
File "pr.ml", line 4, characters 44-51:
Parse error: [type] expected after '=' (in [with_constr])
Uncaught exception: Stream.Error("[type] expected after '=' (in
[with_constr])")
Preprocessor error

@vicuna
Copy link
Author

vicuna commented Nov 20, 2006

Comment author: ertai

Already fixed in the CVS (wait for the 3.10 release)

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