HF RL Explorer

Compiler fails to parse nested parentheses in ternary operator's first term

Compiler fails to parse nested parentheses in ternary operator's first term: a task in LegoFlow-SWE (Harbor dataset). When compiling AGS script, the compiler throws an error if the first term of a ternary operator (the expression before : ) contains nested parentheses. For example:

The task

When compiling AGS script, the compiler throws an error if the first term of a ternary operator (the expression before `:`) contains nested parentheses. For example:

Part of Lego-X/LegoFlow-SWE.