Allow var bindings in path expressions (#1347)
The expression in a variable binding is not and must not be seen as being part of a path expression in which the variable binding appears.
This commit is contained in:
1 parent
02bad4b298
commit
8cde328007
2 files changed
+7
-1
No files matched your search
@@ -1356,3 +1356,9 @@ IN(range(5;20); range(10))
|
||||
null
|
||||
true
|
||||
|
||||
# Regression test for #1347
|
||||
(.a as $x | .b) = "b"
|
||||
{"a":null,"b":null}
|
||||
{"a":null,"b":"b"}
|
||||
|
||||
|
||||
Reference in new issue
Block a user