You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Mention offending function name in "Indented block expected" error
(cherry picked from commit e6e5ba32cd)
This commit is contained in:
committed by
Rémi Verschelde
parent
e0be022b1e
commit
40125c7cce
@@ -4017,7 +4017,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
||||
|
||||
if (!_enter_indent_block(block)) {
|
||||
|
||||
_set_error("Indented block expected.");
|
||||
_set_error(vformat("Indented block expected after declaration of \"%s\" function.", function->name));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user