angular/packages/compiler-cli/test/ngtsc
Andrew Kushnir 9098225ff0 fix(ivy): View Queries inheritance fix (#28309)
Prior to this change `viewQuery` functions that represent @ViewQuery list were not composable, which caused problems in case one Component/Directive inherits another one and both of them contain View Queries. Due to the fact that we used indices to reference queries, resulting query set was corrupted (child component queries were overridden by super class ones). In order to avoid that we no longer use indices assigned at compile time and instead maintain current view query index while iterating through them. This allows us to compose `viewQuery` functions and make inheritance feature work with View Queries.

PR Close #28309
2019-01-23 14:57:17 -08:00
..
fake_core fix(ivy): proper resolution of Enums in Component decorator (#27971) 2019-01-10 10:49:03 -08:00
BUILD.bazel test(ivy): introduce route testing mode for ngtsc tests (#27697) 2019-01-22 12:02:10 -08:00
env.ts test(ivy): introduce route testing mode for ngtsc tests (#27697) 2019-01-22 12:02:10 -08:00
ngtsc_spec.ts fix(ivy): View Queries inheritance fix (#28309) 2019-01-23 14:57:17 -08:00
template_typecheck_spec.ts test(ivy): implement tests for template type-checking (#26203) 2018-10-04 10:11:17 -07:00