google / jsonnet

Jsonnet - The data templating language
http://jsonnet.org
Apache License 2.0
6.92k stars 438 forks source link

Specification missing rule for empty object #1105

Open PJK opened 1 year ago

PJK commented 1 year ago

The Abstract Syntax seems to be missing a derivation rule for "{}", which should be a valid input.

The rules expr -> { objinside } and objinside -> member { , member } [ , ] with member always being non-empty don't seem to allow a valid derivation from expr to "{}". Or am I missing something?