Berry fix message for borrowed method (solidification)

This commit is contained in:
s-hadinger 2024-05-24 22:59:19 +02:00 committed by GitHub
parent 0d3e888147
commit c161f63c9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ static void m_solidify_closure(bvm *vm, bbool str_literal, const bclosure *clo,
char parentclass_prefix[strlen(parentclass_name) + 10];
snprintf(parentclass_prefix, sizeof(parentclass_prefix), "class_%s", parentclass_name);
if (strcmp(parentclass_prefix, prefixname) != 0) {
logfmt("//--> Borrowed method from another class parentclass='%s' prefix='%s'<---\n", parentclass_prefix, prefixname);
logfmt("// Borrowed method '%s' from class '%s'\n", func_name, parentclass_prefix);
logfmt("extern bclosure *%s_%s;\n", parentclass_prefix, func_name);
return;
}