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 fails with constructors named "True" or "False" #4520

Closed
vicuna opened this Issue Mar 11, 2008 · 1 comment

Comments

Projects
None yet
1 participant
@vicuna
Copy link
Collaborator

vicuna commented Mar 11, 2008

Original bug ID: 4520
Reporter: berke
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:31:32Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.11+dev
Fixed in version: 3.11+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues

Bug description

From 3.10.1 to 3.11+dev10, the following happens:

% cat foo.ml
module A = struct type b = False end

let d = A.False

% ocamlc -pp camlp4o foo.ml
File "foo.ml", line 3, characters 8-15:
Error: Unbound constructor A. False

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Oct 4, 2008

Comment author: ertai

Thanks for the report, this is now fixed in the CVS HEAD.

@vicuna vicuna closed this Apr 29, 2010

@vicuna vicuna added camlp4 bug labels Mar 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.