fix span: missign checks for dummy span

This commit is contained in:
Simon Cruanes 2026-03-03 17:52:30 -05:00
parent 7c1eb2321b
commit 20e395abf4
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -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 ()