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

assert failure in object typing #2602

Closed
vicuna opened this issue May 21, 2004 · 2 comments
Closed

assert failure in object typing #2602

vicuna opened this issue May 21, 2004 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented May 21, 2004

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

Bug description

Full_Name: Damien Doligez
Version: 3.07+18
OS: Mac OS X
Submission from: planar.net0.nerim.net (213.41.168.102)
Submitted by: doligez

Un petit exemple tire directement du tutorial sur les objets...

    Objective Caml version 3.07+18 (2004-05-17)

class c = object method m = 1 end

and d = object (self)
inherit c
method n = 2
method as_c = (self :> c)
end;;
Fatal error: exception Assert_failure("typing/ctype.ml", 256, 23)

@vicuna
Copy link
Author

vicuna commented May 23, 2004

Comment author: administrator

Fixed by JG 2004-05-23

@vicuna
Copy link
Author

vicuna commented May 23, 2004

Comment author: administrator

From: damien.doligez@inria.fr

Un petit exemple tire directement du tutorial sur les objets...

    Objective Caml version 3.07+18 (2004-05-17)

class c = object method m = 1 end

and d = object (self)
inherit c
method n = 2
method as_c = (self :> c)
end;;
Fatal error: exception Assert_failure("typing/ctype.ml", 256, 23)

En effet, il s'agit d'une erreur extremement laide qui date de
novembre dernier. Si je ne suis meme pas capable de maintenir mes
invariants, rien ne va plus.

C'est corrige'.

  Jacques

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