From 20e395abf412c7fac3e4c20eb2f9c05ba323e6ae Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 3 Mar 2026 17:52:30 -0500 Subject: [PATCH] fix span: missign checks for dummy span --- src/core/span.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/span.ml b/src/core/span.ml index 14755e90..be88e1ec 100644 --- a/src/core/span.ml +++ b/src/core/span.ml @@ -142,8 +142,8 @@ let add_links' (self : t) (links : unit -> Span_link.t list) : unit = span_set_links self links ) -let set_status = span_set_status +let set_status self st = if is_not_dummy self then span_set_status self st -let set_kind = span_set_kind +let set_kind self k = if is_not_dummy self then span_set_kind self k let k_ambient : t Context.key = Context.new_key ()