File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -847,6 +847,10 @@ let zero_alloc_lookup_table =
847
847
fun arity loc ->
848
848
Assume { property; strict = true ; never_returns_normally = true ;
849
849
arity; loc; });
850
+ ([" assume" ; " error" ],
851
+ fun arity loc ->
852
+ Assume { property; strict = false ; never_returns_normally = true ;
853
+ arity; loc; });
850
854
([" ignore" ], fun _ _ -> Ignore_assert_all property)
851
855
]
852
856
@@ -930,6 +934,7 @@ let assume_zero_alloc ~is_check_allowed check : Zero_alloc_utils.Assume_info.t =
930
934
let msg = " Only the following combinations are supported in this context: \
931
935
'zero_alloc assume', \
932
936
`zero_alloc assume strict`, \
937
+ `zero_alloc assume error`,\
933
938
`zero_alloc assume never_returns_normally`,\
934
939
`zero_alloc assume never_returns_normally strict`."
935
940
in
You can’t perform that action at this time.
0 commit comments