You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect tag comparison in throw_ref semantics #2076
The semantics for throw_ref include the comparison of the thrown exception's tag address with a tag address from the configuration: z.exns[a].tag = z.tags[x]
From there you still want to find tags. frame does not have a field called tags, so you look in the definition of store: store :: = { tags taginst* ... }
But z.exns[a].tag is a tagaddr, so it looks like we're comparing a taginst to a tagaddr here, which makes no sense.
We should have instead compared z.exns[a].tag = z.module.tags[x], where z.module comes from the frame.
Activity
rossberg commentedon Feb 10, 2026
Indeed, bogus print hint, please see #2077 for a fix.