mirror of
https://github.com/angular/angular.git
synced 2026-11-29 09:57:50 -05:00
The `TemplateDefinitionBuilder` uses the same name for the same semantic variables across different views declared in a component. This commit refactors the template pipeline's concept of `ir.SemanticVariable` to share instances across all `ViewCompilation`s. This allows the `name` of the variable to be stored on the `ir.SemanticVariable` instance instead of on the `ir.VariableOp` (which makes sense as variables are often named based on the `ir.SemanticVariable` anyway). PR Close #49797
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT