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: Re: Too Many Constructors #2461

Closed
vicuna opened this issue May 18, 2000 · 1 comment
Closed

PRIVATE: Re: Too Many Constructors #2461

vicuna opened this issue May 18, 2000 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented May 18, 2000

Original bug ID: 118
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Fabrice
Version: 3.00
OS: Linux le plus souvent, mais parfois aussi un peu windows, quoi que je prefere quand meme linux, mais pas mac OS comme mon voisin me conseillait de marquer pour me faire bien voir.
Submission from: cremant.inria.fr (128.93.8.143)

Voici la correction du bug precedent:

typing/typedecl.ml line 144
let rec non_const cstrs n =
match cstrs with
| [] -> n
| (_, []) :: cstrs -> non_const cstrs n
| _ :: cstrs -> non_const cstrs (n+1)
in
if non_const cstrs 0 > Config.max_tag then
raise(Error(sdecl.ptype_loc, Too_many_constructors));

Fabrice Le Chieur

@vicuna
Copy link
Author

vicuna commented May 22, 2000

Comment author: administrator

Redundant with #2460

@vicuna vicuna closed this as completed Aug 25, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant