-
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 natives do allow the return type to be stricter than Object.
It would be good to update FfiNatives to be consistent with asFunction, but that would make them inconsistent with old natives.
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