Fix typo for some built-in procedures

This commit is contained in:
Ginger Bill
2017-06-25 17:36:10 +01:00
parent 1d81b73df9
commit c4081393c1
3 changed files with 18 additions and 8 deletions
+4
View File
@@ -821,6 +821,10 @@ bool is_type_proc(Type *t) {
t = base_type(t);
return t->kind == Type_Proc;
}
bool is_type_gen_proc(Type *t) {
t = base_type(t);
return t->kind == Type_Proc && t->Proc.is_generic;
}
Type *base_vector_type(Type *t) {
if (is_type_vector(t)) {
t = base_type(t);