Subject: Re: zsh -n does not detect incorrect associative array declaration
From: Sebastian Gniazdowski <[email-masked]>
To: Paul Wayper <[email-masked]>
Cc: Zsh hackers list <[email-masked]>
Date: Tue, 19 Apr 2016 15:50:34 +0200
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Just a small tip: if you want to detect syntax errors in script you
can use zcompile. That's what I'm doing in zplugin, turning some
options on and off and checking if a plugin compiles correctly:

https://asciinema.org/a/9x2y2xvmpflkq5wzxeaegln12

This allows some non-zero degree of syntax correctness verification,
for given set of options.

Best regards,
Sebastian Gniazdowski