(line: number)
| 65 | }); |
| 66 | |
| 67 | const refAt = (line: number): UnresolvedRef => ({ |
| 68 | fromNodeId: outerId, referenceName: 'view', referenceKind: 'function_ref', |
| 69 | line, column: 13, filePath: 'views.py', language: 'python', |
| 70 | }); |
| 71 | const target = (line: number, ctx: ResolutionContext): string | undefined => matchFunctionRef(refAt(line), ctx)?.targetNodeId; |
| 72 | |
| 73 | it('is the function above the binding and the local below it, whichever reference asks first', () => { |