Add extended diagnostic to warn when missing let on ngForOf

feat(compiler): Add extended diagnostic to warn when missing let on ngForOf (#46683)
Add extended diagnostic to warn when missing let on ngForOffeatadd extended diagnostic warn missing let

Committed by thePunderWoman

commit message
feat(compiler): Add extended diagnostic to warn when missing let on ngForOf (#46683)

In the case that a user accidentally forgot the let keyword, they dont get a very clear indicator of there being a problem.
They get an issue in the template iteration at runtime. This diagnostic will warn the user when the let keyword is missing.
 
PR Close #46683

Editor assessment

Add extended diagnostic to warn when missing let on ngForOf states the feature, and the body explains the user pain it addresses: without the keyword the failure surfaces only as a confusing runtime error, and the new diagnostic warns at compile time. That is a clear motivation-to-remedy story. Minor typos do not obscure it. The compiler scope and feat type are accurate. Publishable. The runtime-error-before, compile-warning-after contrast is the story, and it is told plainly and completely despite the small typos.

Browse categories

More feat examples · Back to search