YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
21 stars 8 forks source link

Notification malformed function #6548

Closed gm-bug-reporter[bot] closed 2 months ago

gm-bug-reporter[bot] commented 2 months ago

Description

Previously, functions returned warnings to indicate errors in real time such as the absence of an argument, an incorrect argument type, etc.

Today, it's painful because the functions miraculously manage to work without returning the slightest bug. Example: var tab = stringsplit(, ""); does not return any errors and I can launch the game without any bugs either but my function does not work which is logical.

I'm afraid of the amount of hidden bugs that certain projects must contain since the functions cannot simply do the basis of their job, which is to check the information that is passed to them as parameters.

Steps To Reproduce

See description

Which version of GameMaker are you reporting this issue for?

IDE v2024.4.1.152 Runtime v2024.4.1.201

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

ecd4960a-ca3d-47b0-9fdc-71e52f4016fc

rwkay commented 2 months ago

This is intentional as parameters can now be omitted (and undefined is passed) - This was requested by the community and implemented a long time ago (at least a year or so)