Skip to content

Commit fdae031

Browse files
cknittclaude
andcommitted
Pass env and signature in the partial application Lambda tests
#8904 added both to Translmod.transl_implementation while #8936 added a new caller, so the ounit build on master fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fc7LEuyEfynjaKCVEBPmTF Signed-off-by: Christoph Knittel <ck@cca.io>
1 parent a278540 commit fdae031

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/ounit_tests/ounit_partial_application_tests.ml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ let binding_lambda ~name source =
77
~display_filename:"PartialApplication.res" ~source
88
in
99
OUnit.assert_bool "source parses" (not parsed.invalid);
10-
let typed, _, _ =
10+
let typed, signature, env =
1111
Typemod.type_structure (Env.initial_safe_string ()) parsed.parsetree
1212
in
1313
let implementation =
14-
Translmod.transl_implementation "PartialApplication"
14+
Translmod.transl_implementation "PartialApplication" env signature
1515
(typed, Typedtree.Tcoerce_none)
1616
in
1717
let found = ref None in

0 commit comments

Comments
 (0)