godot-module-template/engine/modules/gdscript/tests/scripts/parser/warnings/unused_constant.gd
2025-01-17 16:36:38 +01:00

5 lines
135 B
GDScript

func test():
const UNUSED = "not used"
const _UNUSED = "not used, but no warning since the constant name starts with an underscore"