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(compiler-cli): do not fold errors past calls in the collector #21708

Closed
wants to merge 1 commit into from

Conversation

chuckjaz
Copy link
Contributor

Folding errors passed calls prevented the static reflector from
begin able to ignore errors in annotations it doesn't know as
the call to the unknown annotation was elided from the metadata.

Fixes: #21273

PR Type

What kind of change does this PR introduce?

[x] Bugfix

What is the current behavior?

Issue Number: #21273

The collector elides the call expression when the arguments contain an error.

What is the new behavior?

The collector no longer elides the call expression allowing the static reflector to detect when the error is reported in an annotation it should ignore.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@chuckjaz chuckjaz added the target: patch This PR is targeted for the next patch release label Jan 22, 2018
@mary-poppins
Copy link

You can preview 2f00dd8 at https://pr21708-2f00dd8.ngbuilds.io/.

@mhevery mhevery added the area: core Issues related to the framework runtime label Jan 22, 2018
Folding errors passed calls prevented the static reflector from
begin able to ignore errors in annotations it doesn't know as
the call to the unknown annotation was elided from the metadata.

Fixes: angular#21273
@mary-poppins
Copy link

You can preview 65d33e3 at https://pr21708-65d33e3.ngbuilds.io/.

@chuckjaz chuckjaz added the action: merge The PR is ready for merge by the caretaker label Jan 23, 2018
mhevery pushed a commit that referenced this pull request Jan 23, 2018
…1708)

Folding errors passed calls prevented the static reflector from
begin able to ignore errors in annotations it doesn't know as
the call to the unknown annotation was elided from the metadata.

Fixes: #21273

PR Close #21708
@mhevery mhevery closed this in dd86790 Jan 23, 2018
jbogarthyde pushed a commit to jbogarthyde/angular that referenced this pull request Feb 23, 2018
…gular#21708)

Folding errors passed calls prevented the static reflector from
begin able to ignore errors in annotations it doesn't know as
the call to the unknown annotation was elided from the metadata.

Fixes: angular#21273

PR Close angular#21708
leo6104 pushed a commit to leo6104/angular that referenced this pull request Mar 25, 2018
…gular#21708)

Folding errors passed calls prevented the static reflector from
begin able to ignore errors in annotations it doesn't know as
the call to the unknown annotation was elided from the metadata.

Fixes: angular#21273

PR Close angular#21708
@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 13, 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.

'Reference to a non-exported function' error with custom decorator.
5 participants