Skip to content

Commit

Permalink
sundry cleanup
Browse files Browse the repository at this point in the history
clean up some artifacts of intermediate states to make the total PR
diff cleaner

Signed-off-by: David Vulakh <[email protected]>
  • Loading branch information
dvulakh committed Oct 29, 2024
1 parent 5bbb09d commit 4b3a6cd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion tests/test-dirs/stack-or-heap.t/closures.ml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ let f = function
| None -> 0
| Some _ -> 1
(* ^ *)

6 changes: 0 additions & 6 deletions tests/test-dirs/stack-or-heap.t/constructors.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ let f g x y =
y
;;

(* Constructors with no arguments *)

let f g x y =
let z = x + y in
None
Expand All @@ -32,8 +30,6 @@ let f g x y =
(* ^ *)
;;

(* Tail-call *)

let f (local_ _) = ()

let g x =
Expand All @@ -47,8 +43,6 @@ let g x =
let g x = f (Some x) [@nontail]
(* ^ *)

(* [[@@unboxed]] variant *)

type t = Box of string [@@unboxed]

let f g x y =
Expand Down
2 changes: 0 additions & 2 deletions tests/test-dirs/stack-or-heap.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ escape characters in string literals, so we use the revert-newlines script.

"not an allocation (unboxed constructor)"



(II) Variants

$ run_annotated_file variants.ml
Expand Down

0 comments on commit 4b3a6cd

Please sign in to comment.