File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,6 @@ class DeductionWorklist {
113
113
case SemIR::IdKind::None:
114
114
case SemIR::IdKind::For<SemIR::ClassId>:
115
115
case SemIR::IdKind::For<SemIR::IntKind>:
116
- // Decided on 2025-04-02 not to do deduction through facet types, because
117
- // types can implement a generic interface multiple times with different
118
- // arguments. See:
119
- // https://docs.google.com/document/d/1Iut5f2TQBrtBNIduF4vJYOKfw7MbS8xH_J01_Q4e6Rk/edit?pli=1&resourcekey=0-mc_vh5UzrzXfU4kO-3tOjA&tab=t.0#heading=h.95phmuvxog9n
120
- case SemIR::IdKind::For<SemIR::FacetTypeId>:
121
116
break ;
122
117
case CARBON_KIND (SemIR::InstId inst_id): {
123
118
Add (inst_id, SemIR::InstId (arg));
Original file line number Diff line number Diff line change @@ -651,8 +651,7 @@ struct FacetType {
651
651
static constexpr auto Kind = InstKind::FacetType.Define<Parse::NodeId>(
652
652
{.ir_name = " facet_type" ,
653
653
.is_type = InstIsType::Always,
654
- .constant_kind = InstConstantKind::Always,
655
- .deduce_through = true });
654
+ .constant_kind = InstConstantKind::Always});
656
655
657
656
TypeId type_id;
658
657
// TODO: Rename this to facet_type_info_id.
You can’t perform that action at this time.
0 commit comments