Fix using on array in struct

This commit is contained in:
gingerBill
2019-12-21 14:42:08 +00:00
parent 08392d885e
commit 995ba0df9a
2 changed files with 5 additions and 1 deletions

View File

@@ -3211,7 +3211,7 @@ gbString write_type_to_string(gbString str, Type *type) {
if (type->SimdVector.is_x86_mmx) {
return "intrinsics.x86_mmx";
} else {
str = gb_string_append_fmt(str, "#vector[%d]", cast(int)type->SimdVector.count);
str = gb_string_append_fmt(str, "#simd[%d]", cast(int)type->SimdVector.count);
str = write_type_to_string(str, type->SimdVector.elem);
}
break;