mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
GDScript: Fix test reset_uninit_local_vars.gd
failure
This commit is contained in:
parent
4bca2d8bc6
commit
4136ed7fc8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user