blob: 2d4b9d19d84f39b2aac4e2b2ecf5288a0bfad0c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
(* PR#5835 *)
let f ~x = x + 1;;
f ?x:0;;
(* PR#6352 *)
let foo (f : unit -> unit) = ();;
let g ?x () = ();;
foo ((); g);;
(* PR#5748 *)
foo (fun ?opt () -> ()) ;; (* fails *)
|