Describe the bug
When using the ternary statement or gatekeeper with a multidimensional array, you get an (invalid) unexpected operator error.
[ANTLR_068] Unexpected operator while parsing input text.antlers(ANTLR_068)
[ANTLR_002] Unexpected end of input; expecting operand for operator T_VFBK near "?=".antlers(ANTLR_002)
Impacted Products
Which Antlers Toolbox products does this bug apply to?
[x] Antlers Toolbox for VS Code
[ ] Formatter CLI
[ ] Antlers Prettier Plugin
[ ] Antlers Syntax Highlighting (external systems - not VS Code)
Describe the bug When using the ternary statement or gatekeeper with a multidimensional array, you get an (invalid) unexpected operator error.
Impacted Products Which Antlers Toolbox products does this bug apply to?
Versions and Other Plugins/Extensions v2.6.20
To Reproduce
If you remove the
md
key, you won't see any errors. Workaround is to use additional single braces like so:Expected behavior It shouldn't show any syntax error.