-
Notifications
You must be signed in to change notification settings - Fork 0
Types are not exported properly in v0.8 #28
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
As previously discussed:
With binlang 0.8, after removing the * from parsers and fields, I get a undeclared identifier when using a parser in another module, with import. include works.
This is the code that generated this type declaration
Should be updated to check the 'visibility' parser option and add export marker (*) accordingly
result.add(
nnkTypeSection.newTree(
nnkTypeDef.newTree(
tdef,
newEmptyNode(),
if parserOptions.reference: nnkRefTy.newTree(typeBody)
else: typeBody)))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working