merlin icon indicating copy to clipboard operation
merlin copied to clipboard

Signature help does not work in the presence of type aliases

Open ddickstein opened this issue 10 months ago • 1 comments

Signature help appears for M.f:

module M : sig
  val f : int -> unit
end = struct
  let f (_ : int) = ()
end

let () = M.f 5

Signature help does not appear for M.f:

type t = int -> unit

module M : sig
  val f : t
end = struct
  let f (_ : int) = ()
end

let () = M.f 5

ddickstein avatar Apr 28 '25 03:04 ddickstein

Thanks for the report @ddickstein, that's a quite surprising behavior... I added a test with your reproduction.

voodoos avatar Apr 28 '25 11:04 voodoos