angular/packages/compiler-cli/src
crisbeto 0aff4a6919 fix(ivy): incorrect ChangeDetectorRef injected into pipes used in component inputs (#31438)
When injecting a `ChangeDetectorRef` into a pipe, the expected result is that the ref will be tied to the component in which the pipe is being used. This works for most cases, however when a pipe is used inside a property binding of a component (see test case as an example), the current `TNode` is pointing to component's host so we end up injecting the inner component's view. These changes fix the issue by only looking up the component view of the `TNode` if the `TNode` is a parent.

This PR resolves FW-1419.

PR Close #31438
2019-07-23 15:46:23 -07:00
..
diagnostics refactor: remove unused functions and classes in diagnostics (#28923) 2019-03-05 11:40:08 -08:00
metadata refactor: early compatibility with TypeScript 3.5 (#31174) 2019-06-20 16:42:37 -07:00
ngtsc fix(ivy): incorrect ChangeDetectorRef injected into pipes used in component inputs (#31438) 2019-07-23 15:46:23 -07:00
transformers fix(compiler-cli): Return original sourceFile instead of redirected sourceFile from getSourceFile (#26036) 2019-07-15 17:33:40 -04:00
extract_i18n.ts refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
language_services.ts refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
main.ts fix(ivy): support older CLI versions that do not pass a list of changed files (#31322) 2019-07-18 14:22:07 -07:00
ngtools_api.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
ngtools_api2.ts refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
perform_compile.ts fix(ivy): support older CLI versions that do not pass a list of changed files (#31322) 2019-07-18 14:22:07 -07:00
perform_watch.ts fix(ivy): ensure that changes to component resources trigger incremental builds (#30954) 2019-06-21 10:13:46 -07:00
tooling.ts feat(compiler-cli): export tooling definitions (#29929) 2019-04-17 17:23:01 -07:00
version.ts style: remove empty comments (#23404) 2018-05-10 15:48:13 -07:00