Skip to content

Commit

Permalink
Add testcase for #2468
Browse files Browse the repository at this point in the history
  • Loading branch information
Julow committed Oct 26, 2023
1 parent 418f8c3 commit 8f3d799
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/passing/tests/js_source.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8179,3 +8179,12 @@ module type M = sig
: Simple_value_approx.function_declarations option
Set_of_closures_id.Tbl.fooooooooooooooooooooooooo
end

(*$
let _ =
[ x (*
*)
; y
]
;;
*)
2 changes: 2 additions & 0 deletions test/passing/tests/js_source.ml.ocp
Original file line number Diff line number Diff line change
Expand Up @@ -10440,3 +10440,5 @@ module type M = sig
: Simple_value_approx.function_declarations option
Set_of_closures_id.Tbl.fooooooooooooooooooooooooo
end

(*$ let _ = [ x (* *); y ] *)
2 changes: 2 additions & 0 deletions test/passing/tests/js_source.ml.ref
Original file line number Diff line number Diff line change
Expand Up @@ -10440,3 +10440,5 @@ module type M = sig
: Simple_value_approx.function_declarations option
Set_of_closures_id.Tbl.fooooooooooooooooooooooooo
end

(*$ let _ = [ x (* *); y ] *)

0 comments on commit 8f3d799

Please sign in to comment.