Skip to content

eval scope #4443

@mqudsi

Description

@mqudsi

Is the following a bug or a feature?

eval set -l foo bar
if not echo "bar" | string match -q $foo
    echo Assertion failed!
end

eval isn't explicitly documented as creating a scope.

(note that this "feature" caused some consternation in the implementing of #4442)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions