-
Notifications
You must be signed in to change notification settings - Fork 76
Conditional fail with constant numbers #308
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
Comments
compile-time chained operator evaluation mechanismConstants are stored in The Details: The processing of chains begins at The
This keeps repeating until the entire chain has been evaluated. After the entire chain has been evaluated, Relavant bugged code:
As you can see, the What's the bug?The compiler loses the The fix is to ensure that Why does
|
Uh oh!
There was an error while loading. Please reload this page.
Is this a BUG REPORT, FEATURE REQUEST or QUESTION?:
What happened:
The condition should give true, but instead give false
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Const, define and explict numbers are the same
new
+const
worksEnvironment:
The text was updated successfully, but these errors were encountered: