Skip to content

Conversation

The title helps differentiating same name symbols in the TOC, especially
when they are heavily overloaded like in the system module.
The visibility token doesn't exist on doc2 phases, and therefore symbols
were being recorded as empty.
This is far from the ideal unique signature, but much better than a raw
numerical index.
@gradha gradha closed this Dec 31, 2013
@gradha gradha deleted the pr_better_html_links branch December 31, 2013 18:51
Clyybber pushed a commit to Clyybber/Nim that referenced this pull request Sep 16, 2023
## Summary

Previously `include` statements, outside of type sections, were re-added
to `typed` AST. This is no longer the case, they're instead wholy
replaced by the included AST, which prevents repeated processing and
is consistent with `include`'s behaviour in type sections.

## Details

`semstmts` evaluates both declarative and type sections includes. Only
declarative includes, handled in `evalInclude` reintroduced the
`nkIncludeStmt` node within its results. It's been modified to no longer
do that.

In addition, `evalInclude` used a one off procedure `incMod` as part of
its processing, this has been made an inner proc.

Also removed deadcode `semAllTypeSections` and the `rsemRecursiveImport`
legacy report.

Lastly, a test was added to ensure we don't regress.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant