(vals []Value)
| 47 | } |
| 48 | |
| 49 | func newTypeVectorFromValues(vals []Value) typeVector { |
| 50 | out := make(typeVector, 0, len(vals)) |
| 51 | for _, val := range vals { |
| 52 | out = append(out, val.Type()) |
| 53 | } |
| 54 | return out |
| 55 | } |
| 56 | |
| 57 | func (t typeVector) equal(to []Type) bool { |
| 58 | return slices.Equal(t, to) |