(t Type)
| 81 | } |
| 82 | |
| 83 | func (r rtype) Equal(t Type) bool { |
| 84 | if t == Any { |
| 85 | return true |
| 86 | } |
| 87 | if rt, ok := t.(rtype); ok { |
| 88 | return r.t.String() == rt.t.String() |
| 89 | } |
| 90 | return false |
| 91 | } |
| 92 | |
| 93 | func (r rtype) String() string { |
| 94 | return r.t.String() |