Skip to content

Commit 9fdbb78

Browse files
authored
flambda-backend: Add tests for #2162 (#2170)
1 parent 6ff6bbd commit 9fdbb78

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(* TEST *)
2+
3+
let foo (local_ f) l = l
4+
let go a b g ?(x = foo (fun y -> a, y) b) () =
5+
let x = foo (fun y -> a, y) x in
6+
g x

testsuite/tests/typing-local/local_optparam.reference

Whitespace-only changes.

0 commit comments

Comments
 (0)