Skip to content

Commit e0f58a3

Browse files
authored
Merge pull request godotengine#91120 from dalexeev/gds-fix-tests-fail-after-89990
GDScript: Fix test `reset_uninit_local_vars.gd` failure
2 parents 4bca2d8 + 4136ed7 commit e0f58a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ func test():
1010
var c := 1
1111

1212
if true:
13-
@warning_ignore("unassigned_variable")
1413
var a
15-
print(a)
1614
@warning_ignore("unassigned_variable")
15+
print(a)
1716
var b
18-
print(b)
1917
@warning_ignore("unassigned_variable")
18+
print(b)
2019
var c: Object
20+
@warning_ignore("unassigned_variable")
2121
print(c)

0 commit comments

Comments
 (0)