From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4378 invoked by alias); 29 Sep 2015 15:43:34 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36696 Received: (qmail 3162 invoked from network); 29 Sep 2015 15:43:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=MfUS7BArGcIekqvy2KvcSeH+iYunaJUwFelPay3nuxc=; b=pJ3r/BqyvCjS189qrvZvnzyloF+0LRlJ7UayyQhMb98OryLweeb30pd+ntZvSrqKjq WVKCBEEm65xN+pdqBXyajEN+u4s0WNGagUlRMmyS+wgm0Hbos5HNAFW3FTrH10QkNfMo qfaD/0BaOoKWP819t7Hs2X+ZsAg4EHVD9bzeGnF4rIjXguTJtpx4EsPJT2k1Fb7m9D7S AZbwHtkPC/QMQ7itqxXrsyyLNifRn0UVE6a7/B3qQCO+E40lq3DmMdmZfqeYwamsuN2V 2WFBi9GgeM8MpoXwFKYaGQRys6zRfF1Ze2O+uaZ4Oq21iVzjCw92GhPUWVdpaGIZ0yjP GTtA== X-Received: by 10.25.205.198 with SMTP id d189mr4792593lfg.72.1443541409429; Tue, 29 Sep 2015 08:43:29 -0700 (PDT) Date: Tue, 29 Sep 2015 17:43:27 +0200 From: Joshua Krusell To: zsh-workers@zsh.org Subject: Re: err_exit/err_return regression Message-ID: <20150929154327.GA11991@Qliphoth.local> Mail-Followup-To: zsh-workers@zsh.org References: <20150709143823.184fb4e1@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150709143823.184fb4e1@pwslap01u.europe.root.pri> User-Agent: Mutt/1.5.24 (2015-08-30) 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