mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #38275 from DSteve595/indented-block-line
Mark "Indented block expected" error after function declaration
This commit is contained in:
commit
1309bfa97a
@ -4033,7 +4033,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user