Open timotheecour opened 5 years ago
Why would it need to be in the documentation? Is it referenced somewhere?
because it appears in so many places (197 for benign
), so having it appear in documentation (would be done automatically for pragma definitions) would help anyone working in compiler/stdlib
System should list it manually in an ##
section with the :idx
annotation.
This issue has been automatically marked as stale because it has not had recent activity. If you think it is still a valid issue, write a comment below; otherwise it will be closed. Thank you for your contributions.
see also https://github.com/timotheecour/Nim/issues/146, more generally
benign
ends up all over the place (197 locations) yet we can't find it in nim docs (nor https://nim-lang.github.io/Nim/theindex.html) it's defined here:lib/system/inclrtl.nim
I'm guessing the problem is that
{.pragma: foo.}
isn't considered an exported symbol, however maybe there's something we could improve here, so that it would still end up in documentation ?