diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-04 16:38:58 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-04 16:38:58 +0100 |
commit | 2bffa3cbc568045bcbf9ae28914126978854d8bb (patch) | |
tree | e205fe0626c05ded2aaca2666d598d6aa93b2f46 /modules/gdscript/tests/scripts/runtime | |
parent | ad3e5a949e433b23034b41f05adce65fd3d4b791 (diff) | |
parent | 5efbed51cce62cdd9a2927638030e76bf688cdf7 (diff) | |
download | redot-engine-2bffa3cbc568045bcbf9ae28914126978854d8bb.tar.gz |
Merge pull request #82639 from golfinq/gdscript-improve-indexing-error
GDScript: Improve error messages for invalid indexing
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime')
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/errors/constant_array_is_deep.out | 2 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/errors/constant_dictionary_is_deep.out | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/errors/constant_array_is_deep.out b/modules/gdscript/tests/scripts/runtime/errors/constant_array_is_deep.out index 2a97eaea44..c524a1ae6b 100644 --- a/modules/gdscript/tests/scripts/runtime/errors/constant_array_is_deep.out +++ b/modules/gdscript/tests/scripts/runtime/errors/constant_array_is_deep.out @@ -3,4 +3,4 @@ GDTEST_RUNTIME_ERROR >> on function: test() >> runtime/errors/constant_array_is_deep.gd >> 6 ->> Invalid set index '0' (on base: 'Dictionary') with value of type 'int' +>> Invalid assignment of property or key '0' with value of type 'int' on a base object of type 'Dictionary'. diff --git a/modules/gdscript/tests/scripts/runtime/errors/constant_dictionary_is_deep.out b/modules/gdscript/tests/scripts/runtime/errors/constant_dictionary_is_deep.out index c807db6b0c..cf51b0262d 100644 --- a/modules/gdscript/tests/scripts/runtime/errors/constant_dictionary_is_deep.out +++ b/modules/gdscript/tests/scripts/runtime/errors/constant_dictionary_is_deep.out @@ -3,4 +3,4 @@ GDTEST_RUNTIME_ERROR >> on function: test() >> runtime/errors/constant_dictionary_is_deep.gd >> 6 ->> Invalid set index '0' (on base: 'Array') with value of type 'int' +>> Invalid assignment of index '0' (on base: 'Array') with value of type 'int'. |