Closed
Description
Why are all the arguments (and result) of the function type invariant?
/cc @sjindel-google
Currently we enforce that the arguments and return type of functions are invariant on trampolines.
3cce6fc changed the semantics of Pointer.store
and Pointer.load
to be consistent with the Dart language semantics (notably implicit downcasts).
We should investigate the use of Pointer<NativeType>
as argument or return value, document it's semantics, and write tests for it.