Comments on the next line will go to the next field.
Even though the comments were indented to appear to go with the jspb case/field, protoc doesn't collect comments like that, so these "hanging" comments actually "attach" to the next thing added to each. Looking at https://github.com/protocolbuffers/protobuf/pull/5566 you see where the generated code picked up the comment on the wrong field.
Showing
Please
register
or
sign in
to comment