(qn: string)
| 3773 | return [...new Set(names)].sort(); |
| 3774 | } |
| 3775 | function isCalled(qn: string): boolean { |
| 3776 | const t = cg.getNodesByKind('method').find((n) => n.qualifiedName === qn); |
| 3777 | return !!t && cg.getIncomingEdges(t.id).some((e) => e.kind === 'calls'); |
| 3778 | } |
| 3779 | |
| 3780 | it('resolves a chained factory call TFoo.GetInstance().DoIt() via the return type, never a same-named decoy', async () => { |
| 3781 | fs.writeFileSync( |
no test coverage detected