(sctx *super.Context, tmap *ast.TypeMap)
| 687 | } |
| 688 | |
| 689 | func (a Analyzer) convertTypeMap(sctx *super.Context, tmap *ast.TypeMap) (*super.TypeMap, error) { |
| 690 | keyType, err := a.convertType(sctx, tmap.KeyType) |
| 691 | if err != nil { |
| 692 | return nil, err |
| 693 | } |
| 694 | valType, err := a.convertType(sctx, tmap.ValType) |
| 695 | if err != nil { |
| 696 | return nil, err |
| 697 | } |
| 698 | return sctx.LookupTypeMap(keyType, valType), nil |
| 699 | } |
| 700 | |
| 701 | func (a Analyzer) convertTypeUnion(sctx *super.Context, union *ast.TypeUnion) (*super.TypeUnion, error) { |
| 702 | var types []super.Type |
no test coverage detected