mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 06:05:00 -07:00
Support indexing matrices
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user