fix(compiler): Correctly handles references to static methods (#11013)
Fixes: #10975
This commit is contained in:
@ -30,11 +30,12 @@ export class CompWithProviders {
|
||||
@Component({
|
||||
selector: 'cmp-reference',
|
||||
template: `
|
||||
<input #a>{{a.value}}
|
||||
<input #a [(ngModel)]="foo" required>{{a.value}}
|
||||
<div *ngIf="true">{{a.value}}</div>
|
||||
`
|
||||
})
|
||||
export class CompWithReferences {
|
||||
foo: string;
|
||||
}
|
||||
|
||||
@Component({selector: 'cmp-pipes', template: `<div *ngIf>{{test | somePipe}}</div>`})
|
||||
|
@ -35,7 +35,7 @@ import {CompForChildQuery, CompWithChildQuery, CompWithDirectiveChild, Directive
|
||||
providers: [SomeService],
|
||||
entryComponents: [
|
||||
AnimateCmp, BasicComp, CompWithEntryComponents, CompWithAnalyzeEntryComponentsProvider,
|
||||
ProjectingComp, CompWithChildQuery, CompUsingRootModuleDirectiveAndPipe
|
||||
ProjectingComp, CompWithChildQuery, CompUsingRootModuleDirectiveAndPipe, CompWithReferences
|
||||
]
|
||||
})
|
||||
export class MainModule {
|
||||
|
Reference in New Issue
Block a user