feat: user functions and calls
This commit is contained in:
@@ -110,7 +110,7 @@ object typeChecker {
|
||||
microWacc.FuncDecl(
|
||||
microWacc.Ident(name.v, name.uid)(retType),
|
||||
params.zip(paramTypes).map { case (ast.Param(_, ident), ty) =>
|
||||
microWacc.Ident(ident.v, name.uid)(ty)
|
||||
microWacc.Ident(ident.v, ident.uid)(ty)
|
||||
},
|
||||
stmts.toList
|
||||
.flatMap(
|
||||
|
||||
Reference in New Issue
Block a user