(t *Type)
| 17159 | } |
| 17160 | |
| 17161 | func (c *Checker) getConstraintOfConditionalType(t *Type) *Type { |
| 17162 | if c.hasNonCircularBaseConstraint(t) { |
| 17163 | return c.getConstraintFromConditionalType(t) |
| 17164 | } |
| 17165 | return nil |
| 17166 | } |
| 17167 | |
| 17168 | func (c *Checker) getConstraintFromConditionalType(t *Type) *Type { |
| 17169 | constraint := c.getConstraintOfDistributiveConditionalType(t) |
no test coverage detected