(where, r)
| 807 | .map(([n]) => n), |
| 808 | ) |
| 809 | const leak = (where, r) => |
| 810 | errors.push(`${where}: correlated union ${r} is reachable as a value (needs a payload selector)`) |
| 811 | for (const [name, node] of Object.entries(schema.types)) { |
| 812 | if (node.kind === 'record') { |
| 813 | const envelopeRoot = envelopeResultUnion(node, schema.types) |
no outgoing calls
no test coverage detected