mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Mention offending function name in "Indented block expected" error
This commit is contained in:
		
							parent
							
								
									f5cd33f39d
								
							
						
					
					
						commit
						e6e5ba32cd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -4033,7 +4033,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) { | ||||||
| 
 | 
 | ||||||
| 				if (!_enter_indent_block(block)) { | 				if (!_enter_indent_block(block)) { | ||||||
| 
 | 
 | ||||||
| 					_set_error("Indented block expected."); | 					_set_error(vformat("Indented block expected after declaration of \"%s\" function.", function->name)); | ||||||
| 					return; | 					return; | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Steven Schoen
						Steven Schoen