Skip to content

Ensure that exact number of arguments are given for diagnostic message #60862

@RikkiGibson

Description

@RikkiGibson

Perhaps the DiagnosticInfo constructor should verify args.Length - 1 matches the largest index in the message.

Originally posted by @cston in #60688 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-CompilersConcept-Design DebtEngineering Debt, Design Debt, or poor product code qualityTest-GapDescribes a specific feature or scenario that does not have test coverage

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions