Skip to content

[vm/ffi] Clean up dealing with tearoffs of asFunction/lookupFunction #42260

Closed
@dcharkes

Description

@dcharkes

The tearoffs of asFunction and lookupFunction contain a generic call to their respective definitions. This triggers our extra checks that we do not have generic calls to these extension methods. To Work around this we've been excluding dart:ffi call sites. However, we do have other call sites in dart:ffi which could be checked.

The cleaner solution would be to exclude the bodies of those specific tearoffs, instead of all code in dart:ffi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffi

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions