virtualx-engine/modules/gdscript/tests/scripts
George Marques 877802e252
GDScript: Don't warn on unassigned for builtin-typed variables
If the type of a variable is a built-in Variant type, then it will
automatically be assigned a default value based on the type. This means
that the explicit initialization may be unnecessary. Thus this commit
removes the warning in such case.

This also changes the meaning of the unassigned warning to happen when
the variable is used before being assigned, not when it has zero
assignments.
2024-04-10 11:59:57 -03:00
..
analyzer GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
completion Cleanup 2024-03-01 13:06:37 +01:00
lsp Add unit test runner for autocompletion 2024-01-05 17:49:51 +01:00
parser GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
runtime GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
.gitignore Add runner for GDScript testing 2021-04-08 09:34:59 -03:00
project.godot Add unit test runner for autocompletion 2024-01-05 17:49:51 +01:00
utils.notest.gd Support Array and PackedArray in @export_* 2024-03-06 16:17:54 +09:00