XXX this is just a temporary hack to always (and very inefficiently) expand vector.Fusion to Dynamic so it can be processed by the old vam logic. The task is to figure out where we need to turn Fusion into Dynamic (e.g., record spreads, typeof) and do it only when needed and other wise just deref th
(vecs []Any)
| 53 | // to turn the typevals (or in the future typeIDs) into super.Type. We will need |
| 54 | // to rework things to |
| 55 | func defuse(vecs []Any) []Any { |
| 56 | for i, vec := range vecs { |
| 57 | if f, ok := vec.(*Fusion); ok { |
| 58 | vecs[i] = f.Values |
| 59 | } |
| 60 | } |
| 61 | return vecs |
| 62 | } |
| 63 | |
| 64 | func rip(vecs []Any, d *Dynamic) iter.Seq2[int, []Any] { |
| 65 | return func(yield func(int, []Any) bool) { |