Skip to content

Commit 4b21242

Browse files
committed
Fix tail_anaylsis
1 parent 7cfc797 commit 4b21242

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/analysis/tail_analysis.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ let expr_tail_positions = function
6868
| Texp_construct _
6969
| Texp_variant _
7070
| Texp_record _
71+
| Texp_record_unboxed_product _
7172
| Texp_field _
73+
| Texp_unboxed_field _
7274
| Texp_setfield _
7375
| Texp_array _
7476
| Texp_while _
@@ -83,7 +85,8 @@ let expr_tail_positions = function
8385
| Texp_array_comprehension _
8486
| Texp_probe _
8587
| Texp_probe_is_enabled _
86-
| Texp_src_pos -> []
88+
| Texp_src_pos
89+
| Texp_overwrite _ -> []
8790
| Texp_match (_, _, cs, _) -> List.map cs ~f:(fun c -> Case c)
8891
| Texp_try (_, cs) -> List.map cs ~f:(fun c -> Case c)
8992
| Texp_letmodule (_, _, _, _, e)

0 commit comments

Comments
 (0)