Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): fix interpolate identifier in AOT #30243

Closed
wants to merge 1 commit into from

Conversation

kara
Copy link
Contributor

@kara kara commented May 2, 2019

This commit fixes a regression introduced in PR 29692 where
the interpolate symbol in View Engine was improperly prefixed
with the ɵɵ that signifies private instructions for Ivy. It
resulted in interpolations of 10+ values not working correctly
in AOT mode. This commit removes the prefix.

(I'm unable to add a good test for AOT given the way VE tests
are set up, but I've added one for JIT).

This commit fixes a regression introduced in PR 29692 where
the interpolate symbol in View Engine was improperly prefixed
with the ɵɵ that signifies private instructions for Ivy. It
resulted in interpolations of 10+ values not working correctly
in AOT mode. This commit removes the prefix.
@kara kara requested review from a team as code owners May 2, 2019 16:08
@kara kara added area: core Issues related to the framework runtime action: merge The PR is ready for merge by the caretaker action: presubmit The PR is in need of a google3 presubmit target: patch This PR is targeted for the next patch release labels May 2, 2019
@ngbot ngbot bot added this to the needsTriage milestone May 2, 2019
@kara kara removed the action: presubmit The PR is in need of a google3 presubmit label May 2, 2019
kara added a commit that referenced this pull request May 2, 2019
This commit fixes a regression introduced in PR 29692 where
the interpolate symbol in View Engine was improperly prefixed
with the ɵɵ that signifies private instructions for Ivy. It
resulted in interpolations of 10+ values not working correctly
in AOT mode. This commit removes the prefix.

PR Close #30243
@kara kara closed this in 30d1f29 May 2, 2019
@@ -212,4 +212,22 @@ describe('property instructions', () => {

expect(img.src.indexOf('unsafe:')).toBe(0);
});

it('should handle interpolations with 10+ values', () => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kara test description says 10+ values, but only checks for exactly 10 values.

BioPhoton pushed a commit to BioPhoton/angular that referenced this pull request May 21, 2019
This commit fixes a regression introduced in PR 29692 where
the interpolate symbol in View Engine was improperly prefixed
with the ɵɵ that signifies private instructions for Ivy. It
resulted in interpolations of 10+ values not working correctly
in AOT mode. This commit removes the prefix.

PR Close angular#30243
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants