Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: err_exit/err_return regression



Heads up, found another edge case probably related to this.

The following snippet will never reach the print statement. I can only
reproduce this with a nested [[ followed by a var assignment.

set -x
setopt err_return

if false; then
    :
else
    if [[ -n '' ]]; then
        a=2
    fi

    print foo
fi



Messages sorted by: Reverse Date, Date, Thread, Author