-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffivm-native
Description
@FfiNative<Handle Function()>('doesntmatter')
external String? doesntmatter();
asFunction
and lookupFunction
do not allow the return type to be sticter than Object
when the native type is Handle
.
The old native
s do allow the return type to be stricter than Object
.
It would be good to update FfiNative
s to be consistent with asFunction
, but that would make them inconsistent with old native
s.
iapicca and bernaferrari
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffivm-native