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
Some of the tests import a module called spectest and import a function called print which is overloaded by the embedder. Each import re-imports it with a different signature, but that’s weird because WebAssembly itself doesn’t have overloading. That way you could implement the spectest module in WebAssembly. Same with kinds: a global and function could have the same name.
Andreas: we could remove it from core tests, but we should still make sure that it validates.
Luke: I like the principle of being able to implement standard library in WebAssembly.
Andreas: I would propose removing the print function from the spec tests. We should use assertions instead. It’s no longer relevant. We’ll still test imports, but it doesn’t have to be print.
POLL: unanimous consent to remove polymorphic imports.
AI: Dan to update spec tests to not be polymorphic.
The text was updated successfully, but these errors were encountered:
From CG-01-26:
Some of the tests import a module called
spectest
and import a function calledprint
which is overloaded by the embedder. Each import re-imports it with a different signature, but that’s weird because WebAssembly itself doesn’t have overloading. That way you could implement thespectest
module in WebAssembly. Same with kinds: a global and function could have the same name.POLL: unanimous consent to remove polymorphic imports.
AI: Dan to update spec tests to not be polymorphic.
The text was updated successfully, but these errors were encountered: