Skip to content

GetFormatSpecifierLocationsAndArity returns duplicated entries in computation expressions #16419

Description

@auduchinok

Consider this case:

seq {
    sprintf "%d" 1
}

Calling GetFormatSpecifierLocationsAndArity on check file results will return duplicated entries for %s.

This could be happening due to some tree rewriting during computation expressions analysis. It also means that some analysis may be duplicated, worsening performance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Compiler-ServiceVarious compiler service issues which do not belong to other labels/areas.BugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions