Open SoniEx2 opened 1 year ago
Agreed. The tests in unreachable.wast do not currently test for order of effects.
There are quite a few tests for stack polymorphism, which are in unreached-[in]valid.wast. Your example above is unrelated to stack polymorphism, however, so I don't know what you have in mind in that regard.
hmm we thought we had reported a stack polymorphism bug somewhere but now we don't see it either... :woman_shrugging:
edit: ah, it was in the exception handling proposal.
While a real compiler should never emit code like
it would be nice to see more tests like this.