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
Describe the bug
It is not possible to access a list element (i.e. via filter expression) if the index is a variable reference instead of a constant number.
["a","b","c"][2]// "b"["a","b","c"][index]// failure: expected Boolean but found 'ValNumber(2)'
To Reproduce
Steps to reproduce the behavior:
Evaluate a filter expression ["a","b","c"][index] with context variable index = 2
Expected behavior
I can access a list element statically and dynamically with a variable reference in the same way.
Environment
Which version do you use? 1.10.0
The text was updated successfully, but these errors were encountered:
Describe the bug
It is not possible to access a list element (i.e. via filter expression) if the index is a variable reference instead of a constant number.
To Reproduce
Steps to reproduce the behavior:
["a","b","c"][index]
with context variableindex
=2
Expected behavior
I can access a list element statically and dynamically with a variable reference in the same way.
Environment
Which version do you use? 1.10.0
The text was updated successfully, but these errors were encountered: