Reports a diagnostic if there are any `@let` declarations that conflict with a node.
(scope: Scope, node: Variable | Reference)
| 1039 | |
| 1040 | /** Reports a diagnostic if there are any `@let` declarations that conflict with a node. */ |
| 1041 | private static checkConflictingLet(scope: Scope, node: Variable | Reference): void { |
| 1042 | if (scope.letDeclOpMap.has(node.name)) { |
| 1043 | scope.tcb.oobRecorder.conflictingDeclaration( |
| 1044 | scope.tcb.id, |
| 1045 | scope.letDeclOpMap.get(node.name)!.node, |
| 1046 | ); |
| 1047 | } |
| 1048 | } |
| 1049 | |
| 1050 | private reportConflictingBindings(node: Element | Template | Component | Directive): void { |
| 1051 | const conflictingBindings = this.tcb.boundTarget.getConflictingHostDirectiveBindings(node); |
no test coverage detected