☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
analyzer
/
errors
/
redefine_class_constant.gd
☽
☼
modules/gdscript/tests/scripts/analyzer/errors/redefine_class_constant.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
# See also `parser-warnings/shadowed-constant.gd`.
2
const TEST = 25
3
4
5
func test():
6
# Error here (trying to set a new value to a constant).
7
TEST = 50