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

Comments

Projects
None yet
2 participants
@vicuna
Copy link
Collaborator

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

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Jan 6, 2010

Comment author: @garrigue

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

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Apr 30, 2010

Comment author: @garrigue

Already fixed, just close.

@vicuna vicuna closed this Apr 30, 2010

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.