Best viable overloading procedure algorithm; no_alias; call expr style casts

This commit is contained in:
Ginger Bill
2017-01-17 15:20:11 +00:00
parent 6dc6b6f8aa
commit 383f5b55ad
14 changed files with 366 additions and 222 deletions
+3 -1
View File
@@ -680,11 +680,13 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
}
break;
case Type_Array:
// val = make_type_pointer(c->allocator, t->Array.elem);
val = t->Array.elem;
idx = t_int;
break;
case Type_Slice:
val = t->Array.elem;
// val = make_type_pointer(c->allocator, t->Slice.elem);
val = t->Slice.elem;
idx = t_int;
break;
}