(id int, types []Type)
| 345 | } |
| 346 | |
| 347 | func NewTypeUnion(id int, types []Type) *TypeUnion { |
| 348 | t := &TypeUnion{id: id, Types: types} |
| 349 | t.createLUT() |
| 350 | return t |
| 351 | } |
| 352 | |
| 353 | func (t *TypeUnion) createLUT() { |
| 354 | t.LUT = make(map[Type]int) |
no test coverage detected