Support indexing matrices

This commit is contained in:
gingerBill
2021-10-19 12:13:19 +01:00
parent 1556fad65a
commit 662cbaf425
8 changed files with 206 additions and 4 deletions
+4
View File
@@ -1726,6 +1726,8 @@ bool is_type_indexable(Type *t) {
return true;
case Type_RelativeSlice:
return true;
case Type_Matrix:
return true;
}
return false;
}
@@ -1743,6 +1745,8 @@ bool is_type_sliceable(Type *t) {
return false;
case Type_RelativeSlice:
return true;
case Type_Matrix:
return false;
}
return false;
}