Closed Gamer-XP closed 5 months ago
There are difference in results returned by is_method/is_struct
is_method In VM/YYC, it returns false for all named functions, and true for anon functions. In GMRT, it returns true for all function types
is_struct In VM/YYC it returns true for anon functions In GMRT it returns false everywhere
In GMRT, is_method seems to be working as is_callable instead. So, a bug I guess? As for is_struct, I think old behaviour is a bug.
Using Beta 2024.400.0.567 with GMRT 0.6.0
Not sure. I think it should be changed in old runtime to match the new runtime
No response
Always
Beta (Please put the exact version number in your Description)
Description
There are difference in results returned by is_method/is_struct
is_method In VM/YYC, it returns false for all named functions, and true for anon functions. In GMRT, it returns true for all function types
is_struct In VM/YYC it returns true for anon functions In GMRT it returns false everywhere
In GMRT, is_method seems to be working as is_callable instead. So, a bug I guess? As for is_struct, I think old behaviour is a bug.
Using Beta 2024.400.0.567 with GMRT 0.6.0
Expected Change
Not sure. I think it should be changed in old runtime to match the new runtime
Steps To Reproduce
No response
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
Beta (Please put the exact version number in your Description)
Which platform(s) are you seeing the problem on?
No response
Compiler Log File
Sample .yyz File