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 }}
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Since the renaming of i31.new to ref.i31, ref.i31 appears twice in the set of instructions (when including administrative instructions) with each having a different syntax (one made of an integer in the case of the administrative one).
Then, the reduction rule for ref.i31 is quite confusing:
(i32.const n) ref.i31 -> ref.i31 (n mod 2^31)
On the left side you have the ref.i31 syntax and on the other side the ref.i31 int syntax.
Is there any plan to change one of them again to try to clarifies things ?