-
Notifications
You must be signed in to change notification settings - Fork 8
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
func()++
crashes with malformed assignment
#9040
Comments
As a note this is likely related to this bug report: #7799 |
OK this makes no sense, what does It is a compile error and should stay as such. |
Closing as above |
Description
preffix and suffix -- and ++ require writing to the variable even when the variable is not writable. This was discovered in a test suit for the testing framework. This bug report was requested for submission.
It appears this should work for gmrt and treat the return from the function as a temporary variable. in the following example:
Reasonable to assume this would be a GMRT based change
Expected Change
No response
Steps To Reproduce
example:
https://api.gamemaker.io/api/github/downloads/3c0f6d70-0c9d-43d8-bcda-bf127e84ab4b
This is an example directly from the Test framework
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.11.0 (Monthly), 2024.1100 (Betas)
Which platform(s) are you seeing the problem on?
Windows
Sample Package Attached?
Sample Project Added?
The text was updated successfully, but these errors were encountered: