switch (elem.type_expr->kind) {
case Ast_Kind_Pointer_Type: {
- if (elem.actual->kind != Type_Kind_Pointer) break;
+ if (elem.actual->kind != Type_Kind_Pointer && elem.actual->kind != Type_Kind_MultiPointer) break;
bh_arr_push(elem_queue, ((PolySolveElem) {
.type_expr = ((AstPointerType *) elem.type_expr)->elem,
if struct_method == null do continue;
if safe && struct_method.type != member.type do continue;
- dest := cast(&()->void) (cast(&u8) table + member.offset);
+ dest := cast(&()->void) (cast([&] u8) table + member.offset);
*dest = *cast(&()->void) struct_method.data;
}
}