Export the variant members

This commit is contained in:
Emery Hemingway 2021-09-23 13:31:10 +02:00
parent 2451b441ad
commit e7af40ce2f
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ proc nimTypeOf(scm: Schema; known: var TypeTable; sn: SchemaNode; name = ""): PN
else:
let label = bn.ident
recList.add(nkIdentDefs.newNode.add(
label,
label.toExport,
nimTypeOf(scm, known, bn.altBranch, $label),
newEmpty()))
let disc = nkDotExpr.newNode.add(