(name: string)
| 950 | |
| 951 | const fn = (name: string) => cg.getNodesByKind('function').find((n) => n.name === name)!; |
| 952 | const instTargets = (name: string) => |
| 953 | cg |
| 954 | .getOutgoingEdges(fn(name).id) |
| 955 | .filter((e) => e.kind === 'instantiates') |
| 956 | .map((e) => cg.getNode(e.target)!); |
| 957 | |
| 958 | // Direct-init (the issue) and brace-init both instantiate, targeting the |
| 959 | // CLASS node — not the same-named constructor method. |
no test coverage detected