mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
408d3b44c7
An `if` block can specify an alias for its main expression. We now support these in the template pipeline: - We generate a temporary variable for the original expression - We pass the temporary to the `conditional` instruction's context argument - We provide the alias's name in the ambient context variables map The context variables map now also accepts a name whose lookup value on the context object is empty. This will be interpreted as a read of the entire context object. PR Close #51931