Skip to content

Proposal: AsyncInfo.Run scenario should be improved when implementation uses generated code #1965

@manodasanW

Description

@manodasanW

Summary

Today, if the implementation with the AsyncInfo.Run lambda uses other generated code from another generator, we apparently fail to analyze the entire function and generate the necessary vtables for the task adapter classes. But this might be able to be improved if it is in a return statement where we can look at the return type and use that, or maybe we can issue a diagnostic if that fails too.

Rationale

Improve developer experience in these scenarios.

Important Notes

No response

Open Questions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions