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 a reasonable error with invalid metadata #20062

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

chuckjaz
Copy link
Contributor

The compiler would throw an internal exception if an import using
the ngModule syntax and the module as not a resolvable symbol.

Fixes: #20049

PR Type

What kind of change does this PR introduce?

[x] Bugfix

What is the current behavior?

Issue Number: #20049

The compiler would throw an internal exception when importing a module that could not be resolved.

What is the new behavior?

The compiler produces more reasonable error message.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

The compiler would throw an internal exception if an import using
the `ngModule` syntax and the module as not a resolvable symbol.

Fixes: angular#20049
@mary-poppins
Copy link

You can preview 01c2202 at https://pr20062-01c2202.ngbuilds.io/.

@chuckjaz chuckjaz added PR target: TBD action: merge The PR is ready for merge by the caretaker labels Oct 31, 2017
@chuckjaz
Copy link
Contributor Author

CARETAKER: This PR is ready to merge but should be merged after 5.0.0 final.

@vicb
Copy link
Contributor

vicb commented Nov 2, 2017

@chuckjaz what is TBD ? 5.x and 5.0.x ?

@chuckjaz chuckjaz added target: patch This PR is targeted for the next patch release and removed PR target: TBD state: blocked labels Nov 3, 2017
@vicb vicb merged commit bf22f2d into angular:master Nov 6, 2017
vicb pushed a commit that referenced this pull request Nov 6, 2017
The compiler would throw an internal exception if an import using
the `ngModule` syntax and the module as not a resolvable symbol.

Fixes: #20049
@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.
Labels
action: merge The PR is ready for merge by the caretaker 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.

[5.0.0-rc.9] provide a better message error when module doesn't exist
5 participants