You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most implementations, the rhs of a sub-expression is implemented differently when the lhs is a projection.
Due to the shape of the AST, the lhs is actually evaluated on the lhs projection.
However, when slicing a string, the rhs should be treated as a regular sub-expression.
As a result, in most implementations, the following expression does not evaluate correctly:
'foo'[::-1].length(@) should evaluate to 3.
In some implementations, the result is ``"oof"ornull`.
In most implementations, the rhs of a
sub-expression
is implemented differently when the lhs is a projection.Due to the shape of the AST, the lhs is actually evaluated on the lhs projection.
However, when slicing a string, the rhs should be treated as a regular sub-expression.
As a result, in most implementations, the following expression does not evaluate correctly:
'foo'[::-1].length(@)
should evaluate to3
.In some implementations, the result is ``"oof"
or
null`.Please, consider adding a compliance test.
The text was updated successfully, but these errors were encountered: