-
-
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
[feature request] compile time check for experimental features #8644
Comments
Do you need to know whether it's available via |
The easiest is probably exposing Checking if it is enabled or not can be discussed further, as I'm not sure about the mechanism or whether it is really needed or not. |
reopening, the are 2 issues, only 1 was fixed:
it's easy to support global flag (eg --experimental:foo at cmdline), but what's needed is to tell whether this should be done via supporting |
Currently there is no way to know if an experimental feature is available or not during compile time.
They are only listed in
--advanced
options.This is important to write code for both experimental and non-experimental version in a project with possibility using different version of nim compiler supporting different set of experimental features.
The text was updated successfully, but these errors were encountered: