-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
retain postfix node in type section typed AST, with docgen fix #23101
Conversation
6ac6c85
to
72b480f
Compare
CI now passes |
Superb work, but how hard would it be for the doc gen to not render the export markers? Only public symbols are visible in the docs anyway so the export marker is redundant and it's bit uglier with them. |
Apparently the docgen just renders the AST, we could add a That being said I only now realized |
Yes, please. |
Thanks for your hard work on this PR! Hint: mm: orc; opt: speed; options: -d:release |
fixes nim-lang#24526, follows up nim-lang#23101
fixes #24526, follows up #23101 The `shallowCopy` calls do not keep the original node's children, they just make a new seq with the same length, so the `Ident "*"` node from the original postfix nodes was not carried over, making it `nil` and causing the segfault. (cherry picked from commit b529f69)
Continued from #23096 which was reverted due to breaking a package and failing docgen tests. Docgen should now work, but
a PR is still pending for the package: SciNim/Unchained#45has been merged