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

12 lines
227 B
GDScript

var member: int = 0
@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')