Commit 7abc51a9 authored by Kenton Varda's avatar Kenton Varda

Merge pull request #36 from kaos/master

capnp plugin: missing comment for union tag on groups.
parents 68c78b8f 51b586e7
......@@ -391,7 +391,7 @@ private:
indent, field.getName(),
" :group", genAnnotations(field.getAnnotations(), scope), " {",
field.hasDiscriminantValue()
? kj::strTree(", union tag = ", field.getDiscriminantValue()) : kj::strTree(),
? kj::strTree(" # union tag = ", field.getDiscriminantValue()) : kj::strTree(),
"\n",
genStructFields(group, indent.next()),
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