(qn: string)
| 4549 | return [...new Set(names)].sort(); |
| 4550 | } |
| 4551 | function isCalled(qn: string): boolean { |
| 4552 | const t = cg.getNodesByKind('method').find((n) => n.qualifiedName === qn); |
| 4553 | return !!t && cg.getIncomingEdges(t.id).some((e) => e.kind === 'calls'); |
| 4554 | } |
| 4555 | |
| 4556 | it('resolves a chained factory call TFoo.GetInstance().DoIt() via the return type, never a same-named decoy', async () => { |
| 4557 | fs.writeFileSync( |
no test coverage detected