Given the following code where | symbolizes the cursor:
let s = object
val mutable v = [0; 2]
method p|ush hd = v <- hd :: v
end
Merlin gives the type of the whole object < push : int -> unit > instead of the type of the push method int -> unit.
When using OCaml versions < 4.08 the returned type is the correct one.