-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
cc @gasche
Consider this minimal OCaml program, that defines a functor with two arguments, but then applies it with only the second argument, resulting in a functor-application type error.
module F(K : Map.OrderedType) (V : sig type value end) = struct
module S = Map.Make(K)
type t = V.value S.t
end
module Val = struct type value = string end
module IValMap = F(Val)displays in error buffer:
ocamllsp: This application of the functor F is ill-typed.
These arguments:
Val
do not match these parameters:
(K : Map.OrderedType) (V : ...) -> ...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels