Skip to content

Commit 313ee44

Browse files
mjambonclaude
andcommitted
atdml: fix Loc.path → Loc.file in generated jsonlike test helper
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d634bbd commit 313ee44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

atdml/tests/test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ let run_codegen ~test_name ~file_name atd_src =
4949
let yojson_to_jsonlike_code = {|
5050
let dummy_loc =
5151
let pos = Atd_jsonlike.Pos.{ row = 0; column = 0 } in
52-
Atd_jsonlike.Loc.{ start = pos; end_ = pos; path = None }
52+
Atd_jsonlike.Loc.{ start = pos; end_ = pos; file = None }
5353

5454
let rec yojson_to_jsonlike (x : Yojson.Safe.t) : Atd_jsonlike.AST.t =
5555
match x with

0 commit comments

Comments
 (0)