angular-docs-cn/packages/core/test/render3
crisbeto e17bde99f8 fix(ivy): error in AOT when pipe inherits constructor from injectable that uses DI (#35468)
When a pipe inherits its constructor, and as a result its factory, from an injectable in AOT mode, it can end up throwing an error, because the inject implementation hasn't been set yet. These changes ensure that the implementation is set before the pipe's factory is invoked.

Note that this isn't a problem in JIT mode, because the factory inheritance works slightly differently, hence why this test isn't going through `TestBed`.

Fixes #35277.

PR Close #35468
2020-02-21 12:37:08 -08:00
..
instructions fix(core): remove support for `Map`/`Set` in `[class]`/`[style]` bindings (#35392) 2020-02-14 11:14:43 -08:00
ivy perf(ivy): remove unused argument in hostBindings function (#34969) 2020-01-27 12:49:35 -08:00
jit fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
perf refactor(ivy): Explicitly pass in `TView` (#35069) 2020-02-04 12:56:47 -08:00
styling_next feat(ivy): Change static priority resolution to be same level as directive it belongs to (#34938) 2020-01-29 15:41:47 -08:00
util refactor(ivy): Delete all styling code. (Part of next SHA) (#34616) 2020-01-24 12:22:44 -08:00
BUILD.bazel build: derive ts_library dep from jasmine_node_test boostrap label if it ends in `_es5` (#34736) 2020-01-15 14:58:07 -05:00
basic_perf.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
change_detection_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
common_with_def.ts fix(common): reflect input type in NgIf context (#33997) 2019-12-02 11:34:26 -08:00
component_ref_spec.ts refactor(ivy): Switch styling to new reconcile algorithm (#34616) 2020-01-24 12:23:00 -08:00
component_spec.ts refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
control_flow_spec.ts refactor(ivy): rename `tView.firstTemplatePass` to `tView.firstCreatePass` (#31270) 2019-11-04 21:39:23 +00:00
di_spec.ts refactor(ivy): change styling to use programmatic API on updates (#34804) 2020-01-24 12:23:19 -08:00
domino.d.ts feat(core): Moving Renderer3 into @angular/core (#20855) 2017-12-21 21:40:58 -08:00
global_utils_spec.ts refactor(ivy): remove markDirty from global utilities (#34453) 2020-01-30 11:30:32 -08:00
i18n_spec.ts fix(core): better handing of ICUs outside of i18n blocks (#35347) 2020-02-18 12:43:44 -08:00
imported_renderer2.ts refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
instructions_spec.ts refactor(ivy): Switch styling to new reconcile algorithm (#34616) 2020-01-24 12:23:00 -08:00
integration_spec.ts refactor(ivy): delete `ɵɵallocHostVars` instruction (#34708) 2020-01-24 12:22:10 -08:00
jit_environment_spec.ts refactor(ivy): include generic type for `ModuleWithProviders` in .d.ts files (#34235) 2019-12-10 16:34:47 -08:00
lifecycle_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
listeners_spec.ts perf(ivy): remove unused argument in hostBindings function (#34969) 2020-01-27 12:49:35 -08:00
load_domino.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00
metadata_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
node_selector_matcher_spec.ts fix(ivy): add attributes and classes to host elements based on selector (#34481) 2020-02-18 17:18:13 -08:00
outputs_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
perfCounter_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
pipe_spec.ts fix(ivy): error in AOT when pipe inherits constructor from injectable that uses DI (#35468) 2020-02-21 12:37:08 -08:00
providers_spec.ts refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
pure_function_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
query_spec.ts fix(ivy): queries should match elements inside ng-container with the descendants: false option (#35384) 2020-02-18 17:17:46 -08:00
render_util.ts refactor(ivy): Explicitly pass in `TView` (#35069) 2020-02-04 12:56:47 -08:00
renderer_factory_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
testing_spec.ts refactor(core): remove withBody from public testing API (#25171) 2018-07-31 15:09:32 -07:00
view_container_ref_spec.ts perf(ivy): move local references into consts array (#33129) 2019-11-04 16:30:53 +00:00
view_utils_spec.ts fix(ivy): Run ChangeDetection on transplanted views (#33644) 2019-11-12 13:53:54 -08:00