We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f49fdf commit ad67d05Copy full SHA for ad67d05
runtime/obj.c
@@ -155,6 +155,8 @@ CAMLprim value caml_obj_with_tag(value new_tag_v, value arg)
155
uintnat infix_offset = 0;
156
157
// This function must not raise exceptions (except asynchronous exceptions).
158
+ // It behaves just like an allocation function, which has generative effects,
159
+ // but not arbitrary effects. (See the [Obj_dup] case in [To_cmm].)
160
161
tag_t new_tag = (tag_t)Long_val(new_tag_v);
162
#ifdef DEBUG
0 commit comments