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

Restes de "virtual" pour les types privés #8131

Closed
vicuna opened this issue May 1, 2003 · 2 comments
Closed

Restes de "virtual" pour les types privés #8131

vicuna opened this issue May 1, 2003 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented May 1, 2003

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

Bug description

Full_Name: Boris Yakobowski
Version: 3.06+29
OS: Linux
Submission from: elrond.residence.ens-lyon.fr (140.77.128.65)

type nat = private O | S of nat;;

type nat = virtual O | S of nat

module M = (struct type nat = private O | S of nat end :

          sig type nat = virtual O | S of nat end);;

Syntax error: 'end' expected, the highlighted 'sig' might be unmatched

module M = (struct type nat = private O | S of nat end :

          sig type nat = private O | S of nat end);;

module M : sig type nat = virtual O | S of nat end

Les pretty-printer affichent encore les types privés comme virtuels dans les
signatures, ce qui est rejeté par le parseur.

En tout cas, merci à Pierre pour les types virtuels !

--
Boris

@vicuna
Copy link
Author

vicuna commented May 1, 2003

Comment author: administrator

Full_Name: Boris Yakobowski
Version: 3.06+29
OS: Linux
Submission from: elrond.residence.ens-lyon.fr (140.77.128.65)

type nat = private O | S of nat;;

type nat = virtual O | S of nat

module M = (struct type nat = private O | S of nat end :

          sig type nat = virtual O | S of nat end);;

Syntax error: 'end' expected, the highlighted 'sig' might be unmatched

module M = (struct type nat = private O | S of nat end :

          sig type nat = private O | S of nat end);;

module M : sig type nat = virtual O | S of nat end

Les pretty-printer affichent encore les types privés comme virtuels dans les
signatures, ce qui est rejeté par le parseur.

En tout cas, merci à Pierre pour les types virtuels !

--
Boris

Merci d'avoir signalé ce bug: il doit être corrigé maintenant dans la
version de travail.

Et merci de votre intérêt pour Caml!

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/

@vicuna
Copy link
Author

vicuna commented May 5, 2003

Comment author: administrator

Fixed by PW 2003-05-02.

@vicuna vicuna closed this as completed May 5, 2003
@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