virtualx-engine/modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd
Hugo Locurcio c0083c0f90
Add dozens of new integration tests to the GDScript test suite
This also ignores `.out` files in the file format static checks.
2021-09-14 18:42:08 +02:00

4 lines
131 B
GDScript

func test():
var unused = "not used"
var _unused = "not used, but no warning since the variable name starts with an underscore"