Reports a diagnostic if there are any `@let` declarations that conflict with a node.
(scope: Scope, node: Variable | Reference)
| 1024 | |
| 1025 | /** Reports a diagnostic if there are any `@let` declarations that conflict with a node. */ |
| 1026 | private static checkConflictingLet(scope: Scope, node: Variable | Reference): void { |
| 1027 | if (scope.letDeclOpMap.has(node.name)) { |
| 1028 | scope.tcb.oobRecorder.conflictingDeclaration( |
| 1029 | scope.tcb.id, |
| 1030 | scope.letDeclOpMap.get(node.name)!.node, |
| 1031 | ); |
| 1032 | } |
| 1033 | } |
| 1034 | |
| 1035 | private reportConflictingBindings(node: Element | Template | Component | Directive): void { |
| 1036 | const conflictingBindings = this.tcb.boundTarget.getConflictingHostDirectiveBindings(node); |
no test coverage detected