diff options
Diffstat (limited to 'boot/type_check.cc')
| -rw-r--r-- | boot/type_check.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/type_check.cc b/boot/type_check.cc index 2f15462..14a5099 100644 --- a/boot/type_check.cc +++ b/boot/type_check.cc @@ -1457,6 +1457,7 @@ namespace elna::boot void type_analysis_visitor::visit(record_constructor_expression *expression) { + walking_visitor::visit(expression); const std::shared_ptr<record_type> record = erase_generic(expression->type_decoration).get<record_type>(); if (record == nullptr) @@ -1484,6 +1485,7 @@ namespace elna::boot void type_analysis_visitor::visit(array_constructor_expression *expression) { + walking_visitor::visit(expression); const std::shared_ptr<array_type> array = resolve_underlying_type(expression->type_decoration).get<array_type>(); |
