Some return types can only be computed after a conforming function call #54
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are several examples in
test/_pocomath.mjs
.The obstruction is that return-type information, which is in some cases critical for getting the correct answer, is stored on the (template instantiations of) implementations of an operation. Right now, those instantiations are only generated by an actual call to the operation.
The most obvious fix would simply be to change the code to generate implementations upon requests for return types as well. It seems like it would not be a major change.