Skip to content

Allow Stim Codegen to generate comment for debug.info's inputs #589

@kaihsin

Description

@kaihsin

Currently codegen stim only generate comments with the "msg" field. The discussion here would be if we want to also codegen comments with the "inputs" field for debug.info stmt.

The original intention for this feature is the comment will get inserted by rewrite, so the inputs field is always empty.

One solution is always forward __str__ or __repr__ for the elements in the inputs.
However, the issue is that its hard to know what will be in the inputs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions