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

A way to *not* export numbered identifiers #43

Closed
Yu-Vitaqua-fer-Chronos opened this issue Aug 9, 2022 · 4 comments
Closed

A way to *not* export numbered identifiers #43

Yu-Vitaqua-fer-Chronos opened this issue Aug 9, 2022 · 4 comments

Comments

@Yu-Vitaqua-fer-Chronos
Copy link

Heya, when using futhark to wrap a library, it for some reason shows all of the numbered identifiers in autocomplete, and i think that it's due to the numbered identifiers being exported as well as the final alias? Is there any way to fix this as it is something that would in general be nice for IDE users

https://media.discordapp.net/attachments/1006326173959204924/1006407587396329542/unknown.png

@Yu-Vitaqua-fer-Chronos
Copy link
Author

Any news on this?

@PMunch
Copy link
Owner

PMunch commented Aug 30, 2022

Unfortunately not, I've just started a new job and gotten back from vacation so spare time to work on hobby projects has been sparse. It is on my todo list though

@Yu-Vitaqua-fer-Chronos
Copy link
Author

Ah completely fair, good luck!

@PMunch
Copy link
Owner

PMunch commented Jan 7, 2023

This should be fixed in 0.7.2, by default these identifiers are no longer exported. They where originally exported so that nim doc would show the objects. The old behaviour can be enabled with -d:exportall, and for documentation it might be worth trying -d:nodeclguards.

@PMunch PMunch closed this as completed Jan 7, 2023
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

No branches or pull requests

2 participants