Skip to content

Latest 18.1.0 release breaks type remapping for args with spaces in them #554

Description

@kkukshtel

As the title says:

Having this line in the rsp:

--remap
__arglist=@params string[] args

Used to work in previous versions by now throws:

Error: Invalid key/value pair argument: string[]. Expected 'name=value'
Error: Invalid key/value pair argument: args. Expected 'name=value'

I was trying to track down the issue and it seems like it's something to do with how the arguments are directly parsed, not the actual logic for extracting them in ParseKeyValuePairs. It seems like maybe context.ParseResult.GetValueForOption maybe splits on spaces so it's resolving multiple arguments instead of a single one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions