Anon funcs works

This commit is contained in:
nub31
2025-07-07 18:18:47 +02:00
parent 8751419169
commit 411c149de4
11 changed files with 212 additions and 219 deletions

View File

@@ -232,8 +232,8 @@ public partial class QBEGenerator
private Val EmitLocalFuncIdent(BoundLocalFuncIdent localFuncIdent)
{
var func = _definitionTable.LookupExternFunc(localFuncIdent.Namespace, localFuncIdent.Name);
return new Val(ExternFuncName(func), localFuncIdent.Type, ValKind.Direct);
var func = _definitionTable.LookupLocalFunc(localFuncIdent.Namespace, localFuncIdent.Name);
return new Val(LocalFuncName(func), localFuncIdent.Type, ValKind.Direct);
}
private Val EmitVariableIdent(BoundVariableIdent variableIdent)