Hi! I tried grepping for \bot
in the spec and it only seems to appear where it is defined. Am I missing something? Thanks!
It is used for example at https://webassembly.github.io/spec/core/exec/instructions.html#host-functions
To my understanding, this is a different bottom. It represents that the host function does not return during execution. The bottom I'm talking about is the operand type during validation.
Ivan Font has marked this topic as resolved.
Ivan Font has marked this topic as unresolved.
I believe there is a trace of answer in this issue: https://github.com/WebAssembly/spec/pull/1521. Bottom types were intended to be used to model stack-polymorphic operations.
Last updated: Dec 23 2024 at 12:05 UTC