angular-cn/packages/compiler-cli/test
Kara Erickson fdc6e159b4 fix(ivy): throw if @Input and @ContentChild share a property (#28415)
In View Engine, we supported @Input and @ContentChild annotations
on the same property. This feature was somewhat brittle because
it would only work for static queries, so it would break if a
content child was passed in wrapped in an *ngIf. Due to the
inconsistent behavior and low usage both internally and externally,
we will likely be deprecating it in the next version, and it does
not make sense to perpetuate it in Ivy.

This commit ensures that we now throw in Ivy if we encounter the
two annotations on the same property.

PR Close #28415
2019-01-29 16:40:22 -08:00
..
compliance fix(ivy): throw if @Input and @ContentChild share a property (#28415) 2019-01-29 16:40:22 -08:00
diagnostics fix(compiler-cli): create LiteralLikeNode for String and Number literal (#27536) 2018-12-18 13:20:01 -08:00
metadata test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
ngcc test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
ngtsc fix(ivy): scan simple children routes with no infinite recursion (#28370) 2019-01-29 16:37:48 -08:00
transformers feat(compiler-cli): resolve generated Sass/Less files to .css inputs (#28166) 2019-01-18 09:49:19 -08:00
BUILD.bazel test(ivy): remove state fixme from packages/compiler-cli/test:ngtools_api (#27638) 2018-12-13 14:57:38 -08:00
extract_i18n_spec.ts feat(compiler): add "original" placeholder value on extracted XMB (#25079) 2018-07-30 16:49:00 -07:00
mocks.ts fix(compiler-cli): Use typescript to resolve modules for metadata (#22856) 2018-07-10 11:11:48 -07:00
ngc_spec.ts fix(compiler-cli): create LiteralLikeNode for String and Number literal (#27536) 2018-12-18 13:20:01 -08:00
ngtools_api_spec.ts test(ivy): add ability to find already passing tests (#27449) 2018-12-05 09:34:52 -08:00
perform_compile_spec.ts feat(compiler-cli): add support to extend `angularCompilerOptions` (#22717) 2018-09-19 16:17:28 -07:00
perform_watch_spec.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
test_support.ts build(bazel): turn on --nolegacy-external-runfiles (#26770) 2018-11-14 12:23:38 -08:00