sema: return proc return type instead of proc type itself
This commit is contained in:
parent
53d1825d5b
commit
632fe260fe
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ sema_proccall(SemaCtx *sctx, const AstProcCall *call, Location loc)
|
||||||
for (isize i = 0; i < proc_arglen; ++i) {
|
for (isize i = 0; i < proc_arglen; ++i) {
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
return fsym->dtype;
|
return fsym->dtype->proc.rettype;
|
||||||
}
|
}
|
||||||
|
|
||||||
/************ Semantic and type checking of expressions ************/
|
/************ Semantic and type checking of expressions ************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue