Do not export case…of labels

This commit is contained in:
Emery Hemingway 2021-09-06 15:23:02 +02:00
parent dffd52965b
commit 13854f88c7
1 changed files with 1 additions and 1 deletions

View File

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