Skip to content

Add an Instance resolve for the closure function itself #85

Open
@celinval

Description

StableMIR doesn't provide an easy to way to retrieve the body of a closure. Instance::resolve_closure will return a shim.

The other possibility would be to allow users to convert ClosureDef to FnDef, but we should make sure that doesn't break any usage of FnDef. @oli-obk, any preference here?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions