aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index 3275f0da3..255611fb8 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -466,6 +466,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type *
// NOTE(bill): Is this correct? Does this handle all cases regarding arrays?
if (is_type_array(type) &&
value.kind != ExactValue_Invalid &&
+ value.kind != ExactValue_String &&
value.kind != ExactValue_Compound) {
i64 count = type->Array.count;
Type *elem = type->Array.elem;