godot/modules/gdscript/tests/scripts/runtime/features
George Marques 4a7d49a89a
GDScript: Replace ptrcalls on MethodBind to validated calls
This improves the performance of typed calls to engine methods when the
argument types are exact.

Using validated calls delegate more of the work the core instead of
doing argument unpacking in the VM. It also does not need different
instructions for each return type, simplifying the code.
2023-10-06 11:15: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 Zero Dictionary and Array variants when changing type with reset 2021-10-14 11:22:17 -03:00
arrays_arent_shared.out Zero Dictionary and Array variants when changing type with reset 2021-10-14 11:22:17 -03:00
assign_member_with_operation.gd GDScript: Fix member assignment with operation 2021-10-04 14:09:54 -03:00
assign_member_with_operation.out GDScript: Fix member assignment with operation 2021-10-04 14:09:54 -03:00
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 GDScript: Properly return value with await on non-coroutine 2021-10-14 19:58:10 -03:00
chain_assignment_works.gd Fix set chain bug with jump_if_shared 2022-06-28 18:45:27 +03:00
chain_assignment_works.out Improve dictionary printing to avoid confusion with arrays 2022-10-04 20:33:40 +02:00
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 Allow comparing equality between builtin types and null 2021-09-17 12:33:52 -03:00
compare-null-equals-builtin.out Allow comparing equality between builtin types and null 2021-09-17 12:33:52 -03:00
compare-null-not-equals-builtin.gd Allow comparing equality between builtin types and null 2021-09-17 12:33:52 -03:00
compare-null-not-equals-builtin.out Allow comparing equality between builtin types and null 2021-09-17 12:33:52 -03:00
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
ctor_as_callable.gd Fix: Get constructor as Callable 2023-02-20 22:05:54 -05:00
ctor_as_callable.out Fix: Get constructor as Callable 2023-02-20 22:05:54 -05: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 Zero Dictionary and Array variants when changing type with reset 2021-10-14 11:22:17 -03:00
dictionaries_arent_shared.out Zero Dictionary and Array variants when changing type with reset 2021-10-14 11:22:17 -03:00
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
export_group_no_name_conflict_with_properties.gd GDScript: Fix conflict between property and group names 2023-06-15 08:36:10 +03:00
export_group_no_name_conflict_with_properties.out GDScript: Fix conflict between property and group names 2023-06-15 08:36:10 +03:00
first_class_callable_and_signal.gd GDScript: Fix regression with native signal not found 2023-08-02 15:42:36 +03:00
first_class_callable_and_signal.out GDScript: Fix regression with native signal not found 2023-08-02 15:42:36 +03:00
for_loop_iterator_specified_types.gd GDScript: Make array literal typed if `for` loop variable type is specified 2023-09-21 11:25:59 +03:00
for_loop_iterator_specified_types.out GDScript: Make array literal typed if `for` loop variable type is specified 2023-09-21 11:25:59 +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 GDScript: Allow using self in lambdas 2022-04-24 21:49:02 -03:00
lambda_use_self.out GDScript: Allow using self in lambdas 2022-04-24 21:49:02 -03:00
lua_assign.gd Fix LUA-style assignment in Dictionary 2021-10-05 12:17:13 +02:00
lua_assign.out Fix LUA-style assignment in Dictionary 2021-10-05 12:17:13 +02:00
match_with_pattern_guards.gd GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
match_with_pattern_guards.out GDScript: Implement pattern guards for match statement 2023-09-27 11:25:25 -03:00
member_info.gd GDScript: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
member_info.out GDScript: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
member_info_inheritance.gd GDScript: Fix duplication of inherited script properties 2023-09-23 15:30:23 +03:00
member_info_inheritance.out GDScript: Fix duplication of inherited script properties 2023-09-23 15:30:23 +03:00
metatypes.gd GDScript: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
metatypes.notest.gd GDScript: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
metatypes.out GDScript: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
object_constructor.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
object_constructor.out GDScript: Improve call analysis 2023-09-21 13:36:39 +03: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 GDScript: Fix parsing default parameter values from function calls 2022-01-13 19:28:39 -05:00
params_default_values.out GDScript: Fix parsing default parameter values from function calls 2022-01-13 19:28:39 -05:00
property_with_operator_assignment.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
property_with_operator_assignment.out GDScript: Fix assignment with operation for properties 2021-09-29 10:54:16 -03:00
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 Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
recursion.out Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
reset_local_var_on exit_block.gd GDScript: Reset local variables on exit from block 2023-06-02 13:20:19 +03:00
reset_local_var_on exit_block.out GDScript: Reset local variables on exit from block 2023-06-02 13:20:19 +03:00
reset_unassigned_variables_in_loops.gd GDScript: Reset local variables on exit from block 2023-06-02 13:20:19 +03:00
reset_unassigned_variables_in_loops.out GDScript: Reset local variables on exit from block 2023-06-02 13:20:19 +03:00
standalone-calls-do-not-write-to-nil.gd GDScript: Replace ptrcalls on MethodBind to validated calls 2023-10-06 11:15:44 -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_access_via_instance.gd GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
static_access_via_instance.out GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +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_func_as_callable.gd GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
static_func_as_callable.out GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
static_method_as_callable.gd Core: Fix `Object::has_method()` for script static methods 2023-10-04 19:44:32 +03:00
static_method_as_callable.out Core: Fix `Object::has_method()` for script static methods 2023-10-04 19:44:32 +03:00
static_variables.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
static_variables.out GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
static_variables_2.gd GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
static_variables_2.out GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +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 GDScript: Strings and StringNames match 2023-06-14 19:24:28 -07:00
string_stringname_equivalent.out GDScript: Strings and StringNames match 2023-06-14 19:24:28 -07:00
stringify.gd GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors 2023-09-30 13:57:09 +03:00
stringify.out Improve dictionary printing to avoid confusion with arrays 2022-10-04 20:33:40 +02:00
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_concatenation.gd Fix: Typed arrays aren't working with + 2023-02-22 18:42:26 -05:00
typed_array_concatenation.out Fix: Typed arrays aren't working with + 2023-02-22 18:42:26 -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