-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed as not planned
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilerarea: coreIssues related to the framework runtimeIssues related to the framework runtimecompiler: template type-checkingcore: ng-template and *microsyntaxfreq2: mediumhotlist: error messagestype: bug/fix
Milestone

Description
I'm submitting a ...
[x] bug report => search github for a similar issue or PR before submitting
Current behavior
Silence
Expected behavior
Syntax error
Minimal reproduction of the problem with instructions
*ngFor="let elem of elements; let i of index"
Notice the "of index", which should be "= index".
Got no errors of any sorts, but the behavior is the same as "i = elem", leading to nasty runtime bugs.
What is the motivation / use case for changing the behavior?
To avoid spending hours on stupid bugs like that.
Please tell us about your environment:
-
Angular version: 2.0.X
Latest officially released 4 -
Browser:
all -
Language:
TypeScript 2
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilerarea: coreIssues related to the framework runtimeIssues related to the framework runtimecompiler: template type-checkingcore: ng-template and *microsyntaxfreq2: mediumhotlist: error messagestype: bug/fix