?language service?
(I hope its the right repo to put this)
I think: no, not 100% sure
Steps to reproduce:
@Component({
selector: 'my-app',
template: `
<ng-container *ngFor="let el of [1,2,3,4]; template: myTpl">
</ng-container>
<ng-template let-el #myTpl>
<p> {{el}} </p>
</ng-template>
<hr>
<ng-template ngFor let-item="$implicit" [ngForOf]="[11,22,33,44]" [ngForTemplate]="myTpl"></ng-template>
`,
styleUrls: [ './app.component.css' ]
})
export class AppComponent {}
(Stackblitz does not use language feature in inline tpl)
Messed up html

what it should look like (ignore red error line. There is no templateLOL input)

1.45.10.901.9Angular Version:
Package Version
------------------------------------------------------------
@angular-devkit/architect 0.901.6
@angular-devkit/build-angular 0.901.6
@angular-devkit/build-ng-packagr 0.901.7
@angular-devkit/build-optimizer 0.901.6
@angular-devkit/build-webpack 0.901.6
@angular-devkit/core 9.1.6
@angular-devkit/schematics 9.1.6
@angular/cdk 9.2.4
@angular/cli 9.1.6
@angular/flex-layout 9.0.0-beta.31
@angular/material 9.2.4
@ngtools/webpack 9.1.6
@schematics/angular 9.1.6
@schematics/update 0.901.6
ng-packagr 9.1.5
rxjs 6.5.5
typescript 3.8.3
webpack 4.42.0
Current workaround
use of "de-sugarized" version will not mess with linting/ formating.
<ng-template ngFor let-item="$implicit" [ngForOf]="[11,22,33,44]" [ngForTemplate]="myTpl"></ng-template>
I will add screenshots if needed
Yes, please!
my pleasure @pkozlowski-opensource
Plot twist: Its not happening when we dont have >>: << semicolon

However I know this semicolon syntax from official angular material docs:
<cdk-nested-tree-node *cdkTreeNodeDef="let node; when: hasChild" class="example-tree-node">
So I still think this should be a bug :/
@ayazhafiz could you please take a look at this?
Yes, will do within the next 3 days
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
my pleasure @pkozlowski-opensource