Merge pull request #38275 from DSteve595/indented-block-line

Mark "Indented block expected" error after function declaration
This commit is contained in:
Rémi Verschelde 2020-05-03 09:57:29 +02:00 committed by GitHub
commit 1309bfa97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}