zsh-users
 help / color / mirror / code / Atom feed
* err_return inside function who's return value is checked
@ 2012-12-30  7:52 Russell Harmon
  2012-12-30 19:35 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Russell Harmon @ 2012-12-30  7:52 UTC (permalink / raw)
  To: zsh-users

why does the following print hello?

(){ setopt err_return; false; echo hello } || :

is this a bug?

--
Russell Harmon


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-30 21:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-30  7:52 err_return inside function who's return value is checked Russell Harmon
2012-12-30 19:35 ` Bart Schaefer
2012-12-30 20:55   ` Russell Harmon
2012-12-30 21:32     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).