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
The following code currently validates in the ml-proto interpreter:
(module (func (loop (br 0 (i32.const 0)))))
This isn't useful, because the (i32.const 0) value isn't actually used, since the branch is going to the top of a loop.
I propose that this be made a validation error, both to diagnose accidental use, and to reserve room for making branches to loop tops to be extended in the future.