Repository navigation
Conversation
|
You can preview f744618 at https://pr27766-f744618.ngbuilds.io/. |
f744618 to
6458bb7
Compare
|
You can preview 6458bb7 at https://pr27766-6458bb7.ngbuilds.io/. |
6458bb7 to
0c93201
Compare
|
You can preview 0c93201 at https://pr27766-0c93201.ngbuilds.io/. |
0c93201 to
fa94388
Compare
|
You can preview fa94388 at https://pr27766-fa94388.ngbuilds.io/. |
fa94388 to
47ad814
Compare
|
You can preview 47ad814 at https://pr27766-47ad814.ngbuilds.io/. |
47ad814 to
fd853ba
Compare
|
You can preview fd853ba at https://pr27766-fd853ba.ngbuilds.io/. |
fd853ba to
e864bf1
Compare
|
You can preview e864bf1 at https://pr27766-e864bf1.ngbuilds.io/. |
e864bf1 to
3964109
Compare
|
You can preview 3964109 at https://pr27766-3964109.ngbuilds.io/. |
Previously, there could be identical template/listener function names for a component's template, if it had multiple similarly structured nested sub-templates or listeners. This resulted in build errors: `Identifier '<SOME_IDENTIFIER>' has already been declared` This commit fixes this by ensuring that the template index is included in the `contextName` passed to the `TemplateDefinitionBuilder` responsible for processing nested sub-templates. Similarly, the template or element index is included in the listener names.
3964109 to
f4f395d
Compare
|
You can preview f4f395d at https://pr27766-f4f395d.ngbuilds.io/. |
|
Rebased on master. |
…27766) Previously, there could be identical template/listener function names for a component's template, if it had multiple similarly structured nested sub-templates or listeners. This resulted in build errors: `Identifier '<SOME_IDENTIFIER>' has already been declared` This commit fixes this by ensuring that the template index is included in the `contextName` passed to the `TemplateDefinitionBuilder` responsible for processing nested sub-templates. Similarly, the template or element index is included in the listener names. PR Close #27766
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Docs have been added / updated (for bug fixes / features)PR Type
What is the current behavior?
There can be identical template/listener function names for a component's template, if it has multiple similarly structured nested sub-templates or listeners.
This results in build errors:
Identifier '<SOME_IDENTIFIER>' has already been declaredWhat is the new behavior?
This PR fixes this by ensuring that the template index is included in the
contextNamepassed to theTemplateDefinitionBuilderresponsible for processing nested sub-templates. Similarly, the template or element index is included in the listener names.Does this PR introduce a breaking change?
Other information
Blocking: #26947