Skip to content

Commit 62f5438

Browse files
committed
base
1 parent e12be57 commit 62f5438

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

toolchain/check/impl_lookup.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -669,12 +669,6 @@ static auto TypeCanDestroy(Context& context, SemIR::LocId loc_id,
669669
break;
670670
}
671671

672-
case CARBON_KIND(SemIR::BaseDecl base_decl): {
673-
work.push_back(
674-
{.id = base_decl.base_type_inst_id, .allow_abstract = true});
675-
break;
676-
}
677-
678672
case CARBON_KIND(SemIR::ClassType class_type): {
679673
auto class_info = context.classes().Get(class_type.class_id);
680674
// Incomplete and abstract classes can't be destroyed.

0 commit comments

Comments
 (0)