This commit is contained in:
nub31
2025-09-11 23:34:13 +02:00
parent 0fd1af7e60
commit adcc9f3580
7 changed files with 95 additions and 31 deletions

View File

@@ -379,7 +379,7 @@ public class QBEGenerator
_labelIndex = 0;
_tmpIndex = 0;
_writer.Write("export function ");
_writer.Write(funcDef.ExternSymbol != null ? "export function " : "function ");
if (funcDef.Signature.ReturnType is not VoidTypeNode)
{