Closed Hirrolot closed 1 month ago
Consider the following program:
main() := /(5i32, 0i32);
When evaluated:
error: Cannot reduce: `Panic("out of range: `/(5i32, 0i32)`")`
However, according to the language semantics, the result of evaluation must be Panic(s), where s is an implementation-defined string constant:
Panic(s)
s
Panic("out of range: `/(5i32, 0i32)`")
This also affects our library API.
Consider the following program:
When evaluated:
However, according to the language semantics, the result of evaluation must be
Panic(s)
, wheres
is an implementation-defined string constant:This also affects our library API.