tree-sitter-bash
tree-sitter-bash copied to clipboard
if ! var=$(func) parser failure
Hi, the following code generated a parser failure (but is valid bash):
if ! x=$(false)
then
:
fi
After investigating, it seems that the issue here is that the parser expects the condition to be terminated with a semicolon
if ! x=$(false);
then
:
fi
parses correctly.
Might be fixed by #183