Fix using on array in struct

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

No files matched your search

+1 -1
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;