aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-03-03 20:07:12 +0000
committergingerBill <bill@gingerbill.org>2018-03-03 20:07:12 +0000
commit41b6d215bb381ecb4190acd8cbde481442b7ab85 (patch)
tree75e682504202de72f85ace5f8045934ea44e9831 /src/ir_print.cpp
parent9274f29ca950a1f6b91506b56a291fce0b534f64 (diff)
Fix `using` determination order
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index 814ae5a7f..637822980 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -731,7 +731,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type *
}
} else {
for_array(i, cl->elems) {
- Entity *f = type->Struct.fields_in_src_order[i];
+ Entity *f = type->Struct.fields[i];
TypeAndValue tav = type_and_value_of_expr(m->info, cl->elems[i]);
ExactValue val = {};
if (tav.mode != Addressing_Invalid) {