ocaml/testsuite/tests/typing-poly-bugs/pr5322_ok.ml

7 lines
193 B
OCaml

type 'par t = 'par
module M : sig val x : <m : 'a. 'a> end =
struct let x : <m : 'a. 'a t> = Obj.magic () end
let ident v = v
class alias = object method alias : 'a . 'a t -> 'a = ident end