Skip to content

Commit

Permalink
Fix bug introduced in carbon-language#4613
Browse files Browse the repository at this point in the history
  • Loading branch information
josh11b committed Dec 4, 2024
1 parent 78d7a7c commit fc2eab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/check/import_ref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit fc2eab5

Please sign in to comment.