angular/packages/compiler-cli/src/ngtsc
Alex Rickabaugh cd1277cfb7 fix(ivy): include directive base class metadata when generating TCBs (#29698)
Previously the template type-checking code only considered the metadata of
directive classes actually referenced in the template. If those directives
had base classes, any inputs/outputs/etc of the base classes were not
tracked when generating the TCB. This resulted in bindings to those inputs
being incorrectly attributed to the host component or element.

This commit uses the new metadata package to follow directive inheritance
chains and use the full metadata for a directive for TCB generation.

Testing strategy: Template type-checking tests included.

PR Close #29698
2019-04-19 11:15:25 -07:00
..
annotations fix(ivy): include directive base class metadata when generating TCBs (#29698) 2019-04-19 11:15:25 -07:00
cycles build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
diagnostics fix(ivy): produce ts.Diagnostics for NgModule scope errors (#29191) 2019-03-08 14:21:48 -08:00
entry_point fix(ivy): ngtsc is unable to detect flat module entry-point on windows (#29453) 2019-03-27 13:46:37 -07:00
imports refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
incremental perf(ivy): basic incremental compilation for ngtsc (#29380) 2019-04-01 15:13:56 -07:00
metadata fix(ivy): include directive base class metadata when generating TCBs (#29698) 2019-04-19 11:15:25 -07:00
partial_evaluator feat(ivy): let ngtsc statically evaluate Array.concat calls (#29887) 2019-04-17 12:49:13 -07:00
path fix(compiler-cli): ensure LogicalProjectPaths always start with a slash (#29627) 2019-04-08 09:46:16 -07:00
perf feat(ivy): performance trace mechanism for ngtsc (#29380) 2019-04-01 15:13:55 -07:00
reflection fix(ivy): ngcc - properly handle aliases class expressions (#29119) 2019-04-02 10:50:46 -07:00
routing build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
scope refactor(ivy): move metadata registration to its own package (#29698) 2019-04-19 11:15:25 -07:00
shims fix(ivy): ngtsc is unable to detect flat module entry-point on windows (#29453) 2019-03-27 13:46:37 -07:00
switch build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
testing fix(ivy): reuse default imports in type-to-value references (#29266) 2019-03-12 18:02:08 -07:00
transform perf(ivy): basic incremental compilation for ngtsc (#29380) 2019-04-01 15:13:56 -07:00
translator fix(ivy): reuse default imports in type-to-value references (#29266) 2019-03-12 18:02:08 -07:00
typecheck fix(ivy): include directive base class metadata when generating TCBs (#29698) 2019-04-19 11:15:25 -07:00
util fix(ivy): ngcc - properly handle aliases class expressions (#29119) 2019-04-02 10:50:46 -07:00
program.ts fix(ivy): include directive base class metadata when generating TCBs (#29698) 2019-04-19 11:15:25 -07:00
resource_loader.ts fix(ivy): correct absolute path processing for templateUrl and styleUrls (#28789) 2019-02-21 00:13:12 -08:00
synthetic_files_compiler_host.ts feat: add support for TypeScript 3.3 (and drop older versions) (#29004) 2019-03-13 10:38:37 -07:00
tsc_plugin.ts refactor(ivy): use ClassDeclaration in more ReflectionHost methods (#29209) 2019-03-21 22:20:23 +00:00