8f349b2375
In a microsyntax expressions, some attributes are not bound after desugaring. For example, ```html <div *ngFor="let item of items"> </div> ``` gets desugared to ```html <ng-template ngFor let-items [ngForOf]="items"> </ngtemplate> ``` In this case, `ngFor` should be a literal attribute with no RHS value. Therefore, its source span should be just the `keySpan` and not the source span of the original template node. This allows language service to precisely pinpoint different spans in a microsyntax to provide accurate information. PR Close #38766 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
diagnostic_spec.ts | ||
hybrid_visitor_spec.ts | ||
language_service_spec.ts | ||
mock_host.ts | ||
mock_host_spec.ts |