Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh -n does not detect incorrect associative array declaration



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



Messages sorted by: Reverse Date, Date, Thread, Author