Commit 51b586e7 authored by Andreas Stenius's avatar Andreas Stenius

capnp plugin: missing comment for union tag on groups.

parent 68c78b8f
...@@ -391,7 +391,7 @@ private: ...@@ -391,7 +391,7 @@ private:
indent, field.getName(), indent, field.getName(),
" :group", genAnnotations(field.getAnnotations(), scope), " {", " :group", genAnnotations(field.getAnnotations(), scope), " {",
field.hasDiscriminantValue() field.hasDiscriminantValue()
? kj::strTree(", union tag = ", field.getDiscriminantValue()) : kj::strTree(), ? kj::strTree(" # union tag = ", field.getDiscriminantValue()) : kj::strTree(),
"\n", "\n",
genStructFields(group, indent.next()), genStructFields(group, indent.next()),
indent, "}\n"); indent, "}\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment