godot/modules/gdscript/tests/scripts/parser/warnings/unused_constant.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
135 B
GDScript3
Raw Normal View History

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