This commit is contained in:
korvahkh committed 2023-12-29 22:39:34 -06:00
1 parent 252fd0e928
commit 759e342872
1 file changed
+1 -1
+1 -1
View File
@@ -3385,7 +3385,7 @@ gb_internal lbValue lb_build_call_expr_internal(lbProcedure *p, Ast *expr) {
}
lbValue arg = args[arg_index];
if (arg.value == nullptr) {
if (arg.value == nullptr && arg.type == nullptr) {
switch (e->kind) {
case Entity_TypeName:
args[arg_index] = lb_const_nil(p->module, e->type);