9e5016c845
This commit changes the partial evaluation mechanism to propagate DynamicValue errors internally during evaluation, and not to "poison" entire data structures when a single value is dynamic. For example, previously if any entry in an array was dynamic, evaluating the entire array would return DynamicValue. Now, the array is returned with only the specific dynamic entry as DynamicValue. Instances of DynamicValue also report the node that was determined to be dynamic, as well as a potential reason for the dynamic-ness. These can be nested, so an expression `a + b` may have a DynamicValue that indicates the 'a' term was DynamicValue, which will itself contain a reason for the dynamic-ness. This work was undertaken for the implementation of listLazyRoutes(), which needs to partially evaluate provider arrays, parts of which are dynamic and parts of which contain useful information. PR Close #27697 |
||
---|---|---|
.buildkite | ||
.circleci | ||
.github | ||
.vscode | ||
aio | ||
docs | ||
integration | ||
modules | ||
packages | ||
scripts | ||
third_party/github.com/bazelbuild/bazel-toolchains/bazelrc | ||
tools | ||
.bazelignore | ||
.bazelrc | ||
.clang-format | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.nvmrc | ||
BUILD.bazel | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
WORKSPACE | ||
browser-providers.conf.js | ||
gulpfile.js | ||
index.bzl | ||
karma-js.conf.js | ||
package.json | ||
protractor-e2e.conf.js | ||
protractor-examples-e2e.conf.js | ||
protractor-perf.conf.js | ||
shims_for_IE.js | ||
test-events.js | ||
test-main.js | ||
tslint.json | ||
yarn.lock | ||
yarn.lock.readme.md |
README.md
Angular
Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.