(sctx *super.Context)
| 17 | } |
| 18 | |
| 19 | func NewFlatten(sctx *super.Context) *Flatten { |
| 20 | return &Flatten{ |
| 21 | entryTypes: make(map[super.Type]super.Type), |
| 22 | keyType: sctx.LookupTypeArray(super.TypeString), |
| 23 | sctx: sctx, |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func (n *Flatten) Call(args []super.Value) super.Value { |
| 28 | val := args[0] |