mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-25 18:54:43 +00:00 
			
		
		
		
	GDScript Fix type mismatch in optimized single arg range
				
					
				
			This commit is contained in:
		
							parent
							
								
									e6751549cf
								
							
						
					
					
						commit
						c268e3a235
					
				
					 5 changed files with 140 additions and 1 deletions
				
			
		|  | @ -1377,7 +1377,7 @@ void GDScriptAnalyzer::resolve_for(GDScriptParser::ForNode *p_for) { | |||
| 					if (all_is_constant) { | ||||
| 						switch (args.size()) { | ||||
| 							case 1: | ||||
| 								reduced = args[0]; | ||||
| 								reduced = (int32_t)args[0]; | ||||
| 								break; | ||||
| 							case 2: | ||||
| 								reduced = Vector2i(args[0], args[1]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kleonc
						kleonc