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
This code snippet can run without any error or warning. It seems that the signal object does not check the parameters when emit and connect. So, the argument list of signal is actually meaningless.
I think the number of parameters should at least be checked for correctness at compile time.
Tested versions
System information
Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Ti (NVIDIA; 32.0.15.6094) - 13th Gen Intel(R) Core(TM) i7-13700K (24 Threads)
Issue description
This code snippet can run without any error or warning. It seems that the signal object does not check the parameters when emit and connect. So, the argument list of signal is actually meaningless.
I think the number of parameters should at least be checked for correctness at compile time.
Steps to reproduce
see issue.
Minimal reproduction project (MRP)
signal-args.zip
The text was updated successfully, but these errors were encountered: