Skip to content

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

Closed
kara wants to merge 1 commit into
angular:masterfrom
kara:fix-interpolation
Closed

kara wants to merge 1 commit into
angular:masterfrom
kara:fix-interpolation

Conversation

@kara

@kara kara commented May 2, 2019 •

Copy link
Copy Markdown
Contributor

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 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
expect(img.src.indexOf('unsafe:')).toBe(0);
});

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

Copy link
Copy Markdown

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
Copy Markdown

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.

4 participants