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:
1 parent
841445eea7
commit
6ca7973d49
3 files changed
+1059
-1029
No files matched your search
Generated
+1043
-1027
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user