Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Intended behavior:
Array.appendshould display an error if called with a wrong type in case of typed arrays.Actual behavior: No error highlighting in the editor.
Why this should be implemented: It helps identifying mistakes faster, that would raise an error on runtime. This is the already the case for overwriting an index like
array[index] = wrong_valuebut not forarray.append(wrong_type).Godot version: 4.4.1 stable
Test project: godot_4.4.1_stable_array_typing_test.zip
Beta Was this translation helpful? Give feedback.
All reactions