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

"Expression is too complex to resolve statically" needs more context information. #8978

Closed
1 task done
chuckjaz opened this issue Jun 2, 2016 · 2 comments
Closed
1 task done
Assignees

Comments

@chuckjaz
Copy link
Contributor

chuckjaz commented Jun 2, 2016

  • I'm submitting a ...
  • feature request

When a 'Expression is too complex to resolve statically' is generated by the StaticReflector there isn't enough context to figure out where, in the original file, the offending expression is.

@vicb
Copy link
Contributor

vicb commented Jun 3, 2016

When this happen because of an inline function (provider factory) it would be great to tell the dev to use a reference instead.

@chuckjaz chuckjaz self-assigned this Jun 3, 2016
chuckjaz added a commit to chuckjaz/angular that referenced this issue Jun 4, 2016
StaticReflector provides more context on errors reported by the
collector.

The metadata collector now records the line and character of the node that
caused it to report the error.

Includes other minor fixes to error reporting and a wording change.

Fixes angular#8978
Closes angular#9011
chuckjaz added a commit to chuckjaz/angular that referenced this issue Jun 7, 2016
StaticReflector provides more context on errors reported by the
collector.

The metadata collector now records the line and character of the node that
caused it to report the error.

Includes other minor fixes to error reporting and a wording change.

Fixes angular#8978
Closes angular#9011
chuckjaz added a commit to chuckjaz/angular that referenced this issue Jun 7, 2016
StaticReflector provides more context on errors reported by the
collector.

The metadata collector now records the line and character of the node that
caused it to report the error.

Includes other minor fixes to error reporting and a wording change.

Fixes angular#8978
Closes angular#9011
KiaraGrouwstra pushed a commit to KiaraGrouwstra/angular that referenced this issue Jun 10, 2016
StaticReflector provides more context on errors reported by the
collector.

The metadata collector now records the line and character of the node that
caused it to report the error.

Includes other minor fixes to error reporting and a wording change.

Fixes angular#8978
Closes angular#9011
KiaraGrouwstra pushed a commit to KiaraGrouwstra/angular that referenced this issue Jun 21, 2016
StaticReflector provides more context on errors reported by the
collector.

The metadata collector now records the line and character of the node that
caused it to report the error.

Includes other minor fixes to error reporting and a wording change.

Fixes angular#8978
Closes angular#9011
@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 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants