Allow using { $__loc__ } as shorthand for { __loc__: $__loc__ }

n.b.: { $__loc__: "foo" }  is still not allowed.

$__loc__ cannot be overwritten, and it is always an object.
Using { $x: "foo" } where $x is not a string is an error, so there is
not much of a point in supporting that.
This commit is contained in:
Emanuele Torre authored and Nico Williams committed 2023-07-10 12:04:54 -05:00
1 parent 841445eea7
commit 6ca7973d49
3 files changed
+1059 -1029

No files matched your search

Generated
+1043 -1027
View File
File diff suppressed because it is too large. Load diff