mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 07:31:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			244 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			244 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
# See also `parser-errors/redefine-class-constant.gd`.
 | 
						|
const TEST = 25
 | 
						|
 | 
						|
 | 
						|
func test():
 | 
						|
	# Warning here. This is not an error because a new constant is created,
 | 
						|
	# rather than attempting to set the value of an existing constant.
 | 
						|
	const TEST = 50
 |