Description[mojo] Fix unions in Java generated bindings
{{field.ordinal}} is not defined anymore, which was causing 'None's to
get printed in the generated code. This change makes the tag generation
consistnt with the C++ binding: it assigns ordinals in the order in
which they appear in the file.
BUG=582186
TEST=pipe_control_messages.mojom builds under Java
Committed: https://crrev.com/0c2d2a05cd042a282478ee4a491ebf91a72f82a2
Cr-Commit-Position: refs/heads/master@{#372185}
Patch Set 1 #
Total comments: 2
Patch Set 2 : s/loop.index - 1/loop.index0/ #Messages
Total messages: 10 (4 generated)
|