diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2024-04-24 20:49:52 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2024-04-24 20:49:52 +0300 |
commit | 4136ed7fc898a0f8160f9c39374566ae26256574 (patch) | |
tree | 0836d244277f04c2ee077cc41d103e161b2b14de /modules/gdscript/tests/scripts/runtime | |
parent | 4bca2d8bc64e84a764ee656b9c42443b24448f53 (diff) | |
download | redot-engine-4136ed7fc898a0f8160f9c39374566ae26256574.tar.gz |
GDScript: Fix test `reset_uninit_local_vars.gd` failure
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime')
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd b/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd index b676ece24b..ef2d9a1d60 100644 --- a/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd +++ b/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd @@ -10,12 +10,12 @@ func test(): var c := 1 if true: - @warning_ignore("unassigned_variable") var a - print(a) @warning_ignore("unassigned_variable") + print(a) var b - print(b) @warning_ignore("unassigned_variable") + print(b) var c: Object + @warning_ignore("unassigned_variable") print(c) |