GDScript: Fix test reset_uninit_local_vars.gd failure

This commit is contained in:
Danil Alexeev 2024-04-24 20:49:52 +03:00
parent 4bca2d8bc6
commit 4136ed7fc8
No known key found for this signature in database
GPG Key ID: 124453E157DA8DC7

View File

@ -10,12 +10,12 @@ func test():
var c := 1
if true:
@warning_ignore("unassigned_variable")
var a
@warning_ignore("unassigned_variable")
print(a)
@warning_ignore("unassigned_variable")
var b
print(b)
@warning_ignore("unassigned_variable")
print(b)
var c: Object
@warning_ignore("unassigned_variable")
print(c)