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

Fatal error when tracing a function with abstract type #6602

Closed
vicuna opened this issue Oct 7, 2014 · 1 comment
Closed

Fatal error when tracing a function with abstract type #6602

vicuna opened this issue Oct 7, 2014 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 7, 2014

Original bug ID: 6602
Reporter: herbelin
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2016-12-07T10:36:46Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.01.0
Fixed in version: 4.02.1+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @gasche

Bug description

Tracing a function with abstract type in ocaml toplevel leads to a fatal Assert_failure error.

Steps to reproduce

In ocaml toplevel:

module type S = sig
type t
val f : t
end;;
module M : S = struct
type t = unit -> unit
let f x = x
end;;
#trace M.f
(*
Fatal error: exception Assert_failure("toplevel/trace.ml", 132, 9)
*)

@vicuna
Copy link
Author

vicuna commented Oct 8, 2014

Comment author: @garrigue

Fixed in 4.02, revision 15495.

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