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

cyclic type abbreviations #2973

Closed
vicuna opened this issue Sep 27, 2001 · 2 comments
Closed

cyclic type abbreviations #2973

vicuna opened this issue Sep 27, 2001 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 27, 2001

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

Bug description

Hello,

the following

type t = t

neither compiles with nor without "-rectypes", whereas this

type t = u
and u = t

compiles with "-rectypes" (ocaml-3.02+5).

Shouldn't the two be treated the same way? (Not really important to me
unless this implies any real bugs, but anyway, you know my pedantry ;)

Regards,
Markus Mottl

--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus

@vicuna
Copy link
Author

vicuna commented Sep 28, 2001

Comment author: administrator

neither compiles with nor without "-rectypes", whereas this

type t = u
and u = t

compiles with "-rectypes" (ocaml-3.02+5).

Indeed, some recursion check was missing.
Thanks for reporting it.

Jacques Garrigue

@vicuna
Copy link
Author

vicuna commented Sep 28, 2001

Comment author: administrator

Fixed by JG on 2001-09-28.

@vicuna vicuna closed this as completed Sep 28, 2001
@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