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): report reference to ambient symbols as errors #17978

Closed
wants to merge 1 commit into from

Conversation

chuckjaz
Copy link
Contributor

@chuckjaz chuckjaz commented Jul 6, 2017

Fixes #15188

PR Type

What kind of change does this PR introduce?

[x] Bugfix

What is the current behavior?

The compiler will report an internal error message when an AOT application uses an ambient symbol that is unsupported by AOT.

Issue Number: #15188

What is the new behavior?

A more reasonable error is produced.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@mary-poppins
Copy link

You can preview 1e30901 at https://pr17978-1e30901.ngbuilds.io/.

@chuckjaz
Copy link
Contributor Author

chuckjaz commented Jul 6, 2017

This ends up being a breaking change in that programs that were incorrectly compiled but happened to work are now reported as errors.

This change should be delayed until 5.0

@mary-poppins
Copy link

You can preview 31a4db7 at https://pr17978-31a4db7.ngbuilds.io/.

@mary-poppins
Copy link

You can preview 80f8b79 at https://pr17978-80f8b79.ngbuilds.io/.

@chuckjaz
Copy link
Contributor Author

Obsolete

@chuckjaz chuckjaz closed this Sep 28, 2017
@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 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StaticSymbolResolver - TypeError: Cannot read property 'length' of undefined
3 participants