aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-01-12 13:53:57 +0000
committergingerBill <bill@gingerbill.org>2020-01-12 13:53:57 +0000
commitf0c6f29f829b2ec2dda7e54d2a630f574c28dd72 (patch)
tree71965fc8c5494c7fa75cf5057f17fc43373a5d52 /src/types.cpp
parent7d9a9a2283c6c0cbd1e1034b2496d4898335beb0 (diff)
parentba85e432e77eec502a00a0bfc3c4b8b30dfb8f32 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index b4d42d67a..cf8e603ba 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -3394,7 +3394,7 @@ gbString write_type_to_string(gbString str, Type *type) {
case Type_SimdVector:
if (type->SimdVector.is_x86_mmx) {
- return "intrinsics.x86_mmx";
+ return gb_string_appendc(str, "intrinsics.x86_mmx");
} else {
str = gb_string_append_fmt(str, "#simd[%d]", cast(int)type->SimdVector.count);
str = write_type_to_string(str, type->SimdVector.elem);