-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercompiler: extended diagnosticsfeatureIssue that requests a new featureIssue that requests a new featuregood first issueAn issue that is suitable for first-time contributors; often a documentation issue.An issue that is suitable for first-time contributors; often a documentation issue.help wantedAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).
Milestone
Description
We should have an extended diagnostic that warns if you reference a function in a text interpolation expression
@Component({
/* ... */
template: '<p> {{ firstName }} </p>',
})
export class UserProfile {
protected firstName() {
return 'Morgan';
}
}
This would be very similar to the "Signals must be invoked in template interpolations" diagnostic
JelleBruisten, ShivanshCharak, RafaelJCamara, ThomOrlo and poiuylkkk
Metadata
Metadata
Assignees
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercompiler: extended diagnosticsfeatureIssue that requests a new featureIssue that requests a new featuregood first issueAn issue that is suitable for first-time contributors; often a documentation issue.An issue that is suitable for first-time contributors; often a documentation issue.help wantedAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).