(typ *super.TypeUnion, tags []uint32, vals []Any)
| 13 | var _ Any = (*Union)(nil) |
| 14 | |
| 15 | func NewUnion(typ *super.TypeUnion, tags []uint32, vals []Any) *Union { |
| 16 | return &Union{NewDynamic(tags, vals), typ} |
| 17 | } |
| 18 | |
| 19 | func NewUnionFromDynamic(sctx *super.Context, d *Dynamic) *Union { |
| 20 | types := make([]super.Type, 0, len(d.Values)) |
no test coverage detected