Skip to content

<~ doesn't preserve the data type of $ENV.PATH #962

Description

@lmorg

Describe the bug:

$ENV.PATH <~ %[ foobar ]

should append :foobar to $PATH. Instead it converts $PATH to JSON and adds it as the first array element (escaped as string) inside another JSON array with foobar as the second array element.

Behaviour works as expected for local variables, even of paths type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions