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

GADTs with object type indexes #5425

Closed
vicuna opened this issue Dec 14, 2011 · 1 comment
Closed

GADTs with object type indexes #5425

vicuna opened this issue Dec 14, 2011 · 1 comment
Assignees
Labels
bug typing-GADTS GADT typing and exhaustiveness bugs

Comments

@vicuna
Copy link

vicuna commented Dec 14, 2011

Original bug ID: 5425
Reporter: @garrigue
Assigned to: @garrigue
Status: closed (set by @garrigue on 2011-12-15T02:28:39Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.13.0+dev
Fixed in version: 3.13.0+dev
Category: ~DO NOT USE (was: OCaml general)
Related to: #5427
Child of: #5428 #5998

Bug description

Je te joins deux fichiers avec des GADTs qui font soit crasher le
typeur, soit produire un message d'erreur pour le moins singulier. Si
tu préfères que je te fasse passer ça par mantis plutôt que par mail,
dis le moi.

Alexandre

File attachments

@vicuna
Copy link
Author

vicuna commented Dec 15, 2011

Comment author: @garrigue

Stack overflow was caused by wrong code when unifying two Tfield's.
This case was not used until the extension of GADTs to objects.
Fixed in revision 11316.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug typing-GADTS GADT typing and exhaustiveness bugs
Projects
None yet
Development

No branches or pull requests

3 participants