From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2357 invoked by alias); 6 Nov 2015 18:45:04 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20901 Received: (qmail 22277 invoked from network); 6 Nov 2015 18:45:01 -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,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern_com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=+S7O+VczWM+H0p6akQ3uLlS5m60AjYqOSuXLbPjb9Y8=; b=Vy+cQHFZhTRmLq9GySj5j3tgUGYXcR8ESrKJuqOpAZprr96OlmCpVLTwN3NRhvHD/Z S0J47gOQZVoxLCh3uH+/f2hQV5MlUHaFvYM5NAAjERvb8n4SSzGJpA6ZUNJ1g1SB7XHY YGCXRBVzNeSW5R4p6ckWUygtMGGXboSt1frhHV4uFx1R78KOgBb7hDKFL1hSr7qtuW8X Wb4DWoOzNXasujDgDA4H6xPf0s1ZcGvlbwB/2sSYkKJUGqsgpBo1SCgtoPbuDVDD5E5r v3LF3An19uSWsxEGIIay/2fm/ZXel6DX8OkvZQDkVta0G8Kxzw9NhyW8egVcsNnwpuX9 oy/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=+S7O+VczWM+H0p6akQ3uLlS5m60AjYqOSuXLbPjb9Y8=; b=YdpKKnzkh7e0F6zdywpvCrLk9Bw8707ittQTNtZP7QHOb+keuk6SMLk7yflTXChxdW 5oCuvMNhVV3P6wUzjXEtlJgupSWunjGkBztBImEDcVPZ3CRGRAJAGasia8UJpfwGc99V 8j5oiCmODAAAO/rnOOC/ydDpeji5HeTg6UiE2XaitFUV3aBI0tpPc73V765MI7KfRPUk 8t4TvGaPchbPz41rzVGh/MK3pClw/wxuZoqBNvqDyI073BhnpAQErkizpUOsdleeBKWC n0T4BeqmJm2Ong74XGGW3CmKPyk1A4I91HLDhPBN4I2gAmYh7kMBQnTXMjrpmC9erTQZ tU2w== X-Gm-Message-State: ALoCoQmH0CSeTQsLHOlUDK7j9Tp/yNJyF8jOdp6Ov/xx0ainInPYpBFayvCdjFrpQY/If7PKnQ98 X-Received: by 10.202.186.7 with SMTP id k7mr9128754oif.84.1446835498795; Fri, 06 Nov 2015 10:44:58 -0800 (PST) From: Bart Schaefer Message-Id: <151106104455.ZM22748@torch.brasslantern.com> Date: Fri, 6 Nov 2015 10:44:55 -0800 In-Reply-To: <563AA51B.3040101@eastlink.ca> Comments: In reply to Ray Andrews "Re: two mysteries" (Nov 4, 4:38pm) References: <563A4A75.1020009@eastlink.ca> <151104123546.ZM20556@torch.brasslantern.com> <563AA51B.3040101@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: two mysteries MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 4, 4:38pm, Ray Andrews wrote: } } You're probably right. It's very hard to track. However there's no } question that the type changes from integer when it happens, I've used } the (t) flag to check. I suspect further that you're not examining the same variable after the error as before. The divide-by-zero is a fatal error, e.g.: torch% () { integer x; x=foo/bar; print ${(t)x} } (anon): division by zero torch% Note that the "print" statement was never executed. If I bring it up to top level: torch% integer x torch% x=foo/bar zsh: division by zero torch% print ${(t)x} integer torch%