(source *Type, target *Type)
| 148 | } |
| 149 | |
| 150 | func (c *Checker) isTypeAssignableTo(source *Type, target *Type) bool { |
| 151 | return c.isTypeRelatedTo(source, target, c.assignableRelation) |
| 152 | } |
| 153 | |
| 154 | func (c *Checker) isTypeSubtypeOf(source *Type, target *Type) bool { |
| 155 | return c.isTypeRelatedTo(source, target, c.subtypeRelation) |
no test coverage detected