From fc2eab56a3ed7d7e89e424a950b9f1de8f93bd42 Mon Sep 17 00:00:00 2001 From: Josh L Date: Wed, 4 Dec 2024 16:13:59 +0000 Subject: [PATCH] Fix bug introduced in #4613 --- toolchain/check/import_ref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/check/import_ref.cpp b/toolchain/check/import_ref.cpp index e4ec561983257..91c9910e89986 100644 --- a/toolchain/check/import_ref.cpp +++ b/toolchain/check/import_ref.cpp @@ -1234,7 +1234,7 @@ static auto AddAssociatedEntities(ImportContext& context, context.import_functions().Get(function_decl->function_id); import_name_id = function.name_id; } else { - CARBON_CHECK("Unhandled associated entity type"); + CARBON_FATAL("Unhandled associated entity type"); } auto name_id = GetLocalNameId(context, import_name_id); auto entity_name_id = context.local_entity_names().Add(