Skip to content

proposal: x/tools/go/analysis: register debug flag in analysistest.Run #66745

@mneverov

Description

@mneverov

Proposal Details

Currently, flags for analysis driver are registered in an internal package and are used in the Main function that runs analysis.
It would be nice to register flags in analysistest.Run and RunWithSuggestedFixes. I am interested in particular in the debug flag that allows to run analyzer sequentially, that simplifies debugging tests.

Other issues I found and red regarding flags #65776, #53215, and #32155.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions