We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7292261 commit 7cfc797Copy full SHA for 7cfc797
src/analysis/stack_or_heap_enclosing.ml
@@ -95,7 +95,8 @@ let from_nodes ~lsp_compat ~pos ~path =
95
| [] -> ret_no_alloc ?loc "constructor without arguments"
96
| _ :: _ -> (
97
match cstr_repr with
98
- | Variant_unboxed -> ret_no_alloc ?loc "unboxed constructor"
+ | Variant_unboxed | Variant_with_null ->
99
+ ret_no_alloc ?loc "unboxed constructor"
100
| Variant_extensible | Variant_boxed _ ->
101
ret ?loc Unexpected_no_alloc)))
102
| Texp_record { representation; alloc_mode = maybe_alloc_mode; _ } -> (
0 commit comments