Source

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

Full commit
1
2
3
4
5
6
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