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

Comments

Projects
None yet
2 participants
@vicuna
Copy link

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

This comment has been minimized.

Copy link
Author

commented Oct 8, 2014

Comment author: @garrigue

Fixed in 4.02, revision 15495.

@vicuna vicuna closed this Dec 7, 2016

@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.