Disallow returning Vec
(and any raw_ptr
) from a contract to another contract
#3397
Labels
compiler: ui
Mostly compiler messages
enhancement
New feature or request
P: critical
Should be looked at before anything else
Returning a
Vec
from one contract to another should be disallowed because the pointer from the called contract is not valid in the caller contract. The same check that we have that disallows returningraw_ptr
from scripts should also be used in this case.The text was updated successfully, but these errors were encountered: