virtualx-engine/modules/gdscript/tests/scripts/analyzer/warnings/shadowning.gd

16 lines
328 B
GDScript

var member: int = 0
var print_debug := 'print_debug'
@warning_ignore("shadowed_global_identifier")
var print := 'print'
@warning_ignore("unused_variable")
func test():
var Array := 'Array'
var Node := 'Node'
var is_same := 'is_same'
var sqrt := 'sqrt'
var member := 'member'
var reference := 'reference'
print('warn')