( fn: Expression )
| 661 | for (const name of functionLiteralParameterNames(param)) { |
| 662 | if (block.localScope!.bindings.has(name)) continue; |
| 663 | // A destructuring pattern's leaves carry no annotation of their own, so |
| 664 | // they always take the bare-parameter branch below. |
| 665 | const t = isDestructuringParameter(param) |
| 666 | ? undefined |
| 667 | : functionLiteralParameterType(param); |
| 668 | if (t !== undefined) |
| 669 | ce.declare(name, { inferred: false, type: t }, block.localScope); |
| 670 | else { |
| 671 | // A bare parameter whose first reference sat in a NESTED Block scope |
| 672 | // (an `if` branch, a loop body) auto-declared its shared binding there, |
| 673 | // not here. Adopt that binding as the parameter's: it is the one every |
no test coverage detected