Files
regorus/tests/interpreter/cases/refr/tests.yaml
Anand Krishnamoorthi 7e3fc08a14 Handle non simple refs in chained expressions (#182)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
2024-03-15 07:13:54 -07:00

15 lines
254 B
YAML

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
cases:
- note: ref
modules:
- |
package test
x = [k |
[1, 2, 3][[1, 2, 3][k]]
]
query: data.test
want_result:
x: [0, 1]