(it *scode.Iter, from, to super.Type)
| 184 | } |
| 185 | |
| 186 | func (c *cast) castNext(it *scode.Iter, from, to super.Type) (super.Value, bool) { |
| 187 | val := super.NewValue(from, it.Next()) |
| 188 | return c.Cast(val, to) |
| 189 | } |
| 190 | |
| 191 | func (c *cast) maybeConvertToUnion(vals []super.Value, types map[super.Type]struct{}) (super.Type, bool) { |
| 192 | typesSlice := slices.Collect(maps.Keys(types)) |
no test coverage detected