-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
allow $if work everywhere #23836
Comments
Connected to Huly®: V_0.6-22241 |
Hear. We need top level support for comptime logic, also for |
... and |
Yeah I'd like that very much |
And struct fields... |
For sure. I actually needed custom struct fields like that a couple of times. |
Maybe, the extent to which this implemented, could use some caution or be done in steps, to make sure it doesn't cause other unforeseen issues. Sometime too much of a good thing, can be bad for us too. |
Describe the feature
$if conditional compile can work only on some code regions.
Use Case
some use case :
Proposed Solution
Generate
#ifdef
at$if
.Other Information
No response
Acknowledgements
Version used
V 0.4.9 ab2eb00.2cd1f6e
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: