Closed thirtythreeforty closed 1 day ago
This implementation does not validate that the field names and/or numbers are not reused; it simply ignores them. This allows parsing files that contain the reserved keyword.
reserved
Thanks! Looks pretty good but...
message Foo { reserved 2, 15, 9 to 11; reserved "foo", "bar"; }
As is, something like reserved 2, 15 will work, but this will fail for 9 to 11 or "foo", "bar".
reserved 2, 15
9 to 11
"foo", "bar"
This implementation does not validate that the field names and/or numbers are not reused; it simply ignores them. This allows parsing files that contain the
reserved
keyword.