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
Hi! While writing spectests for Wizard we ran into a stack underflow crash with the reference interpreter switch5.wast:12.5-12.20: runtime crash: stack underflow (referring to the switch in $fn_1):
let cont' =Ref (ContRef (ref (Some (Int32.add (Lib.List32.length ts) 1l, ctxt'')))) in
The arity of the new continuation reference is mistakenly derived from the length of ts, which is codomain of the switch-tag. The arity of new continuation reference is known at the switch point as it can be read off the type annotation (though somewhat awkwardly).
Hi! While writing spectests for Wizard we ran into a stack underflow crash with the reference interpreter
switch5.wast:12.5-12.20: runtime crash: stack underflow
(referring to theswitch
in$fn_1
):I don't think this is the intended behavior. Is this a problem in the reference interpreter? Thanks!
The text was updated successfully, but these errors were encountered: