From 70a7839a3199e044f391573a184d050beff095ab Mon Sep 17 00:00:00 2001 From: Geoff Romer Date: Wed, 27 Oct 2021 17:09:03 -0700 Subject: [PATCH] Fix bug from #909 (#924) --- executable_semantics/interpreter/interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executable_semantics/interpreter/interpreter.cpp b/executable_semantics/interpreter/interpreter.cpp index 09a9eb1ddda8..923a29136f3a 100644 --- a/executable_semantics/interpreter/interpreter.cpp +++ b/executable_semantics/interpreter/interpreter.cpp @@ -491,7 +491,7 @@ auto Interpreter::Convert(Nonnull value, case Value::Kind::StructType: { const auto& destination_struct_type = cast(*destination_type); - std::vector new_elements; + std::vector new_elements; for (const auto& [field_name, field_type] : destination_struct_type.fields()) { std::optional> old_value =