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 'a t = 'a is not correctly handled by the typechecker. #4730

Closed
vicuna opened this issue Feb 25, 2009 · 2 comments
Closed

type 'a t = 'a is not correctly handled by the typechecker. #4730

vicuna opened this issue Feb 25, 2009 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Feb 25, 2009

Original bug ID: 4730
Reporter: jm
Status: closed (set by @garrigue on 2009-03-02T06:44:36Z)
Resolution: fixed
Priority: normal
Severity: crash
Version: 3.11.0+beta
Fixed in version: 3.11.1+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @Chris00 @yakobowski

Bug description

% cat a.ml
type 'a t = 'a
module M
: sig val get : 'a t -> string end
= struct let get t = t end;;
""^M.get 0
% ocamlc a.ml
% ./a.out
zsh: segmentation fault ./a.out
% ocamlc -v
The Objective Caml compiler, version 3.12.0+dev2 (2009-01-25)
Standard library directory: /usr/local/lib/ocaml

@vicuna
Copy link
Author

vicuna commented Mar 1, 2009

Comment author: @Chris00

Bug already present in version 3.10.2.

@vicuna
Copy link
Author

vicuna commented Mar 2, 2009

Comment author: @garrigue

Thanks for reporting this incredibly stupid bug, which was due to a
wrong variable name when refactoring code in version 1.205.2.4 of ctype.ml.

This is now fixed in CVS, head and branches 3.10 and 3.11.

@vicuna vicuna closed this as completed Mar 2, 2009
@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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant