(t *checker.Type)
| 428 | } |
| 429 | |
| 430 | func getDeclarationsFromType(t *checker.Type) []*ast.Node { |
| 431 | var result []*ast.Node |
| 432 | for _, t := range t.Distributed() { |
| 433 | if t.Symbol() != nil { |
| 434 | for _, decl := range t.Symbol().Declarations { |
| 435 | result = core.AppendIfUnique(result, decl) |
| 436 | } |
| 437 | } |
| 438 | } |
| 439 | return result |
| 440 | } |
no test coverage detected