finished type checking issues

This commit is contained in:
Partho
2025-04-30 01:25:11 -04:00
parent 69b8019a8b
commit 6d26ba25b0
2 changed files with 30 additions and 18 deletions

View File

@ -630,6 +630,7 @@ TableNode *getReturn(TableNode *definition) {
"node has NULL additionalinfo. Invalid.");
return undefined;
}
printdebug("function:%s with return type %s\n",getName(definition),getName(definition->additionalinfo->FunTypeAdInfo->returntype));
return definition->additionalinfo->FunTypeAdInfo->returntype;
}