()
| 214 | var errPrefix = `msgp: attempted to decode type "int" with method for "str"` |
| 215 | |
| 216 | func expectedAsTuple() []string { |
| 217 | var out []string |
| 218 | for _, s := range []string{ |
| 219 | `Val`, |
| 220 | `Child/Val`, |
| 221 | `Children/0/Val`, |
| 222 | `Children/1/Val`, |
| 223 | `ComplexChild/Val1`, |
| 224 | `ComplexChild/Val2`, |
| 225 | `ComplexChild/Val3`, |
| 226 | `ComplexChild/Val4`, |
| 227 | `ComplexChild/Val5`, |
| 228 | `Map`, |
| 229 | `Map/baz`, |
| 230 | `Map`, |
| 231 | `Map/foo`, |
| 232 | `Nest`, |
| 233 | `Nest/Val`, |
| 234 | `Nest`, |
| 235 | `Nest/Child/Val`, |
| 236 | `Nest`, |
| 237 | `Nest/Children/0/Val`, |
| 238 | `Nest/Children/1/Val`, |
| 239 | `Nest`, |
| 240 | `Nest/Map`, |
| 241 | `Nest/Map/foo`, |
| 242 | `Nest/Map`, |
| 243 | `Nest/Map/baz`, |
| 244 | `Nest`, |
| 245 | `Nest/Nest`, |
| 246 | `Nest/Nest/Val`, |
| 247 | `Nest/Nest`, |
| 248 | `Nest/Nest/Child/Val`, |
| 249 | `Nest/Nest`, |
| 250 | `Nest/Nest/Children/0/Val`, |
| 251 | `Nest/Nest/Children/1/Val`, |
| 252 | `Nest/Nest`, |
| 253 | `Nest/Nest/Map`, |
| 254 | `Nest/Nest/Map/foo`, |
| 255 | `Nest/Nest/Map`, |
| 256 | `Nest/Nest/Map/baz`, |
| 257 | } { |
| 258 | if s == "" { |
| 259 | out = append(out, errPrefix) |
| 260 | } else { |
| 261 | out = append(out, errPrefix+" at "+s) |
| 262 | } |
| 263 | } |
| 264 | return out |
| 265 | } |
| 266 | |
| 267 | // there are a lot of extra errors in here at the struct level because we are |
| 268 | // not discriminating between dodgy struct field map key strings and |
no outgoing calls
no test coverage detected
searching dependent graphs…