Skip to content

Propagate source info of statements when inlining #540

@david-pl

Description

@david-pl

When running the InlinePass on a method, the statements that are inlined into the main function body have stmt.source is None. It would be nice (e.g. for error handling) to propagate that info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: lowlow priority tasks, backlogs, good-to-haves

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions