You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
++variable is semantically +(+(variable)) and generates the C code ++variable because of no special-casing. On the other hand, variable++ simply doesn't parse.
The fact that ++variable actually works is a mistake/bug in rock and will be fixed soon - see ooc-lang/rock#982
Therefore, we should avoid it all-together. It is confusing in itself that ++variable works but variable++ does not.
The text was updated successfully, but these errors were encountered:
++variable
is semantically +(+(variable)) and generates the C code++variable
because of no special-casing. On the other hand,variable++
simply doesn't parse.The fact that
++variable
actually works is a mistake/bug in rock and will be fixed soon - see ooc-lang/rock#982Therefore, we should avoid it all-together. It is confusing in itself that
++variable
works butvariable++
does not.The text was updated successfully, but these errors were encountered: