mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Best viable overloading procedure algorithm; no_alias; call expr style casts
This commit is contained in:
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user