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

Type checker loops and aborts if recursive type expression is constrained #4955

Closed
vicuna opened this issue Jan 6, 2010 · 2 comments
Closed
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 6, 2010

Original bug ID: 4955
Reporter: kaustuv
Assigned to: @garrigue
Status: closed (set by @garrigue on 2010-04-30T03:15:13Z)
Resolution: fixed
Priority: normal
Severity: crash
Version: 3.11.1
Fixed in version: 3.11.2+dev
Category: ~DO NOT USE (was: OCaml general)

Bug description

type t = ([`A of 'a] as 'a) constraint 'a = t ;;

Fatal error: exception Stack_overflow

@vicuna
Copy link
Author

vicuna commented Jan 6, 2010

Comment author: @garrigue

Delay check for cyclic abbreviations after enforcing constraints typedecl.ml.

@vicuna
Copy link
Author

vicuna commented Apr 30, 2010

Comment author: @garrigue

Already fixed, just close.

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

2 participants