Describe the Bug
When using the following expression, foo.bar seems to be incorrectly parsed as NamedParameters. I'd expect it to be PositionalParameters instead.
date and time(date(time(foo.bar)));
Steps to Reproduce
- Parse
date and time(date(time(foo.bar)))
- Get error
As a expressions.txt test it should expect something like:
date and time(date(time(foo.bar)))
==>
Expressions(
DateTimeLiteral(
DateTimeConstructor(date, and, time), "(",PositionalParameters(
DateTimeLiteral(
DateTimeConstructor(date), "(", PositionalParameters(
DateTimeLiteral(
DateTimeConstructor(time), "(", PositionalParameters(
PathExpression(VariableName(...),VariableName(...))
),")"
)
),")"
)
),")"
)
)
But it gets Error: Expected PositionalParameters in DateTimeLiteral, got NamedParameters at 31
FEEL playground link
Expected Behavior
The expression should be parsed without issues
Environment
Describe the Bug
When using the following expression,
foo.barseems to be incorrectly parsed as NamedParameters. I'd expect it to be PositionalParameters instead.Steps to Reproduce
date and time(date(time(foo.bar)))As a expressions.txt test it should expect something like:
But it gets
Error: Expected PositionalParameters in DateTimeLiteral, got NamedParameters at 31FEEL playground link
Expected Behavior
The expression should be parsed without issues
Environment