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
OS/device including version:
Linux x64; X11; Debian Testing
Issue description:
If a GDScript variable is defined to use a getter function that has a required parameter (ie. one with no default value), the getter will not be called, and no error gets output.
I would expect an error to be logged in such a case.
Ah, I guess my example's conclusion wasn't clear originally (now edited).
The issue isn't that the code doesn't work, but that the invalid code doesn't produce an error or warning message!
Godot version:
3.0.2 (Steam)
OS/device including version:
Linux x64; X11; Debian Testing
Issue description:
If a GDScript variable is defined to use a getter function that has a required parameter (ie. one with no default value), the getter will not be called, and no error gets output.
I would expect an error to be logged in such a case.
Steps to reproduce:
Running this will print
default
rather thangotten
, but not show any error message.The text was updated successfully, but these errors were encountered: