mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Handle non simple refs in chained expressions (#182)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
48982222c5
commit
7e3fc08a14
@@ -0,0 +1,14 @@
|
||||
# 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]
|
||||
Reference in New Issue
Block a user