Skip to content

Commit

Permalink
Add tests for #2162 (#2170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekdohibs authored Dec 20, 2023
1 parent 6710e59 commit 107e86b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ocaml/testsuite/tests/typing-local/local_optparam.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(* TEST *)

let foo (local_ f) l = l
let go a b g ?(x = foo (fun y -> a, y) b) () =
let x = foo (fun y -> a, y) x in
g x
Empty file.

0 comments on commit 107e86b

Please sign in to comment.