annotateCast produces an array of cast types decorated with cast type telemetry counters.
(toType *types.T, fromTypes []*types.T)
| 97 | // annotateCast produces an array of cast types decorated with cast |
| 98 | // type telemetry counters. |
| 99 | func annotateCast(toType *types.T, fromTypes []*types.T) []castInfo { |
| 100 | ci := make([]castInfo, len(fromTypes)) |
| 101 | for i, fromType := range fromTypes { |
| 102 | ci[i].fromT = fromType |
| 103 | } |
| 104 | //rname := toType.String() |
| 105 | // |
| 106 | //for i, fromType := range fromTypes { |
| 107 | // lname := fromType.String() |
| 108 | // //ci[i].counter = sqltelemetry.CastOpCounter(lname, rname) |
| 109 | //} |
| 110 | return ci |
| 111 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…