Subject: Re: [PATCH] typeset: set $? on incidental error
From: Bart Schaefer <[email-masked]>
To: [email-masked]
Date: Wed, 13 Jan 2016 20:58:09 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Jan 14, 12:13am, Daniel Shahaf wrote:
}
} The 'typeset' family of builtins doesn't set $? when one would expect it
} 
} This patch makes 'typeset' behave as ordiary assignment does.

Looks OK to me.  I worry that there's also some examination of errflag
needed, but what you have there doesn't seem to be wrong.