godot/modules/gdscript/tests/scripts/runtime/features
George Marques 0ba6048ad3
Add support for static variables in GDScript
Which allows editable data associated with a particular class instead of
the instance. Scripts with static variables are kept in memory
indefinitely unless the `@static_unload` annotation is used or the
`static_unload()` method is called on the GDScript.

If the custom function `_static_init()` exists it will be called when
the class is loaded, after the static variables are set.
2023-04-27 09:51:44 -03:00
..
array_string_stringname_equivalent.gd Add GDScript `.editorconfig` rules 2023-01-10 12:25:35 -05:00
array_string_stringname_equivalent.out Unify String and StringName 2022-12-05 21:46:47 -05:00
arrays_arent_shared.gd
arrays_arent_shared.out
assign_member_with_operation.gd
assign_member_with_operation.out
assign_operator.gd [GDScript] Fix incorrect compound assignment 2023-04-14 11:28:44 +02:00
assign_operator.out [GDScript] Fix incorrect compound assignment 2023-04-14 11:28:44 +02:00
await_on_void.gd GDScript: Allow constant expressions in annotations 2023-01-25 18:43:56 +03:00
await_on_void.out GDScript: Allow using await on calls to void functions 2023-01-09 09:55:05 -03:00
await_without_coroutine.gd GDScript: Fix false positive `REDUNDANT_AWAIT` warning 2023-03-16 14:04:14 +03:00
await_without_coroutine.out
chain_assignment_works.gd
chain_assignment_works.out
compare-builtin-equals-null.gd Support for checking that Projection is(not) null 2022-11-01 20:49:52 +01:00
compare-builtin-equals-null.out Support for checking that Projection is(not) null 2022-11-01 20:49:52 +01:00
compare-builtin-not-equals-null.gd Support for checking that Projection is(not) null 2022-11-01 20:49:52 +01:00
compare-builtin-not-equals-null.out Support for checking that Projection is(not) null 2022-11-01 20:49:52 +01:00
compare-null-equals-builtin.gd
compare-null-equals-builtin.out
compare-null-not-equals-builtin.gd
compare-null-not-equals-builtin.out
const_class_reference.gd Add test for const class references 2023-02-20 23:01:32 -05:00
const_class_reference.out Add test for const class references 2023-02-20 23:01:32 -05:00
const_class_reference_external.notest.gd Add test for const class references 2023-02-20 23:01:32 -05:00
constants_are_read_only.gd GDScript: Fix test for read-only state of constants 2023-01-27 05:28:08 +02:00
constants_are_read_only.out GDScript: Fix test for read-only state of constants 2023-01-27 05:28:08 +02:00
conversion_for_default_parameter.gd GDScript: Fix missing conversion for default argument values 2023-01-06 11:49:06 +02:00
conversion_for_default_parameter.out GDScript: Fix missing conversion for default argument values 2023-01-06 11:49:06 +02:00
conversions_from_native_members.gd GDScript: Fix conversions from native members accessed by identifier 2023-02-25 10:53:36 +02:00
conversions_from_native_members.out GDScript: Fix conversions from native members accessed by identifier 2023-02-25 10:53:36 +02:00
default_set_beforehand.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
default_set_beforehand.out GDScript: Initialize all defaults beforehand in implicit constructor 2023-02-24 22:01:06 -03:00
dictionaries_arent_shared.gd
dictionaries_arent_shared.out
dictionary_string_stringname_equivalent.gd Add GDScript `.editorconfig` rules 2023-01-10 12:25:35 -05:00
dictionary_string_stringname_equivalent.out Unify String and StringName 2022-12-05 21:46:47 -05:00
does_not_override_temp_values.gd GDScript: Allow constant expressions in annotations 2023-01-25 18:43:56 +03:00
does_not_override_temp_values.out GDScript: Fix temp values being written without proper clear 2023-01-11 14:24:23 -03:00
for_loop_iterator_types.gd GDScript: Fix typing of iterator in for loop 2023-01-13 15:36:11 +02:00
for_loop_iterator_types.out GDScript: Fix typing of iterator in for loop 2023-01-13 15:36:11 +02:00
gdscript.gd GDScript: Allow constant expressions in annotations 2023-01-25 18:43:56 +03:00
gdscript.out Add default virtual `gdscript://` path to `GDScript` instances 2023-01-12 10:27:38 -05:00
getter_with_freed_object.gd GDScript: Don't fail when freed object is return 2023-04-26 10:57:22 -03:00
getter_with_freed_object.out GDScript: Don't fail when freed object is return 2023-04-26 10:57:22 -03:00
lambda_use_self.gd
lambda_use_self.out
lua_assign.gd
lua_assign.out
match_string_stringname_equivalent.gd Unify String and StringName 2022-12-05 21:46:47 -05:00
match_string_stringname_equivalent.out Unify String and StringName 2022-12-05 21:46:47 -05:00
parameter_shadowing.gd Add GDScript `.editorconfig` rules 2023-01-10 12:25:35 -05:00
parameter_shadowing.out Fix incomplete shadowing of member properties by parameters 2022-12-06 00:22:56 +02:00
params_default_values.gd
params_default_values.out
property_with_operator_assignment.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
property_with_operator_assignment.out
range_optimized_in_for_has_int_iterator.gd GDScript Fix type mismatch in optimized single arg `range` 2022-11-02 13:20:47 +01:00
range_optimized_in_for_has_int_iterator.out GDScript Fix type mismatch in optimized single arg `range` 2022-11-02 13:20:47 +01:00
range_returns_ints.gd GDScript Fix type mismatch in optimized single arg `range` 2022-11-02 13:20:47 +01:00
range_returns_ints.out GDScript Fix type mismatch in optimized single arg `range` 2022-11-02 13:20:47 +01:00
recursion.gd
recursion.out
standalone-calls-do-not-write-to-nil.gd GDScript: Allow constant expressions in annotations 2023-01-25 18:43:56 +03:00
standalone-calls-do-not-write-to-nil.out GDScript: Don't use the NIL address to hold return value of functions 2023-01-09 09:20:18 -03:00
static_constructor.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_constructor.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_variables.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_variables.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_variables_load.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_variables_load.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_variables_other.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_variables_other.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
string_stringname_equivalent.gd Unify String and StringName 2022-12-05 21:46:47 -05:00
string_stringname_equivalent.out Unify String and StringName 2022-12-05 21:46:47 -05:00
stringify.gd
stringify.out
typed_argument_is_null.gd Fix: Func with typed args error when arg is null 2023-02-19 21:47:48 -05:00
typed_argument_is_null.out Fix: Func with typed args error when arg is null 2023-02-19 21:47:48 -05:00
typed_array_init_with_untyped_in_literal.gd GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
typed_array_init_with_untyped_in_literal.out GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
typed_assignment.gd Fix type adjustment skipped when value is considered both not hard and not variant 2022-12-25 17:11:30 +03:00
typed_assignment.out Fix type adjustment skipped when value is considered both not hard and not variant 2022-12-25 17:11:30 +03:00
use_conversion_assign_with_variant_value.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
use_conversion_assign_with_variant_value.out GDScript: Fix use of conversion assign for variant values 2023-01-10 20:01:11 -03:00