(dir: AbstractControlDirective)
| 345 | } |
| 346 | |
| 347 | function _describeControlLocation(dir: AbstractControlDirective): string { |
| 348 | const path = dir.path; |
| 349 | if (path && path.length > 1) return `path: '${path.join(' -> ')}'`; |
| 350 | if (path?.[0]) return `name: '${path}'`; |
| 351 | return 'unspecified name attribute'; |
| 352 | } |
| 353 | |
| 354 | function _throwMissingValueAccessorError(dir: AbstractControlDirective) { |
| 355 | const loc = _describeControlLocation(dir); |
no test coverage detected
searching dependent graphs…