| 1 |
# See also `parser-errors/redefine-class-constant.gd`. |
| 2 |
const TEST = 25 |
| 3 |
|
| 4 |
|
| 5 |
func test(): |
| 6 |
# Warning here. This is not an error because a new constant is created, |
| 7 |
# rather than attempting to set the value of an existing constant. |
| 8 |
const TEST = 50 |