Skip to content
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

instantiationInfo undocumented parameter fullPaths #17483

Open
lhupfeldt opened this issue Mar 23, 2021 · 1 comment
Open

instantiationInfo undocumented parameter fullPaths #17483

lhupfeldt opened this issue Mar 23, 2021 · 1 comment
Labels
Documentation Content Related to documentation content (not generation).

Comments

@lhupfeldt
Copy link

proc instantiationInfo(index = -1; fullPaths = false): tuple[filename: string,
    line: int, column: int] {...}

fullPaths is undocumented

Seems to mean return filenameas an absolute path.
full == absolute?
why is it plural, can there be other paths returned?

@lhupfeldt lhupfeldt changed the title instantiationInfo documentation instantiationInfo undocumented parameter fullPaths Mar 23, 2021
@ringabout ringabout added the Documentation Content Related to documentation content (not generation). label Mar 29, 2021
@timotheecour
Copy link
Member

@lhupfeldt PR welcome to document it, yes, it means absolute path, the name is historical cruft.

why is it plural, can there be other paths returned?

no, historical cruft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Content Related to documentation content (not generation).
Projects
None yet
Development

No branches or pull requests

3 participants