Reports a diagnostic if there are any `@let` declarations that conflict with a node.
(scope: Scope, node: Variable | Reference)
| 985 | |
| 986 | /** Reports a diagnostic if there are any `@let` declarations that conflict with a node. */ |
| 987 | private static checkConflictingLet(scope: Scope, node: Variable | Reference): void { |
| 988 | if (scope.letDeclOpMap.has(node.name)) { |
| 989 | scope.tcb.oobRecorder.conflictingDeclaration( |
| 990 | scope.tcb.id, |
| 991 | scope.letDeclOpMap.get(node.name)!.node, |
| 992 | ); |
| 993 | } |
| 994 | } |
| 995 | |
| 996 | private reportConflictingBindings(node: Element | Template): void { |
| 997 | const conflictingBindings = this.tcb.boundTarget.getConflictingHostDirectiveBindings(node); |
no test coverage detected