File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,12 @@ class InstNamer {
6161 index = sem_ir_->functions ().GetRawIndex (id);
6262 } else if constexpr (std::is_same_v<IdT, ImplId>) {
6363 index = sem_ir_->impls ().GetRawIndex (id);
64+ } else if constexpr (std::is_same_v<IdT, InterfaceId>) {
65+ index = sem_ir_->interfaces ().GetRawIndex (id);
6466 } else if constexpr (std::is_same_v<IdT, SpecificInterfaceId>) {
6567 index = sem_ir_->specific_interfaces ().GetRawIndex (id);
6668 } else if constexpr (std::is_same_v<IdT, VtableId>) {
6769 index = sem_ir_->vtables ().GetRawIndex (id);
68- } else if constexpr (std::is_same_v<IdT, InterfaceId>) {
69- index = sem_ir_->interfaces ().GetRawIndex (id);
7070 }
7171 return static_cast <ScopeId>(GetScopeIdOffset (ScopeIdTypeEnum::For<IdT>) +
7272 index);
You can’t perform that action at this time.
0 commit comments