angular-docs-cn/packages/compiler-cli/src
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
..
diagnostics fix(compiler-cli): create LiteralLikeNode for String and Number literal (#27536) 2018-12-18 13:20:01 -08:00
metadata fix(compiler-cli): flatModuleIndex files not generated on windows with multiple input files (#27200) 2018-12-04 14:01:25 -08:00
ngcc style: change to American English (#27266) 2019-01-29 16:30:25 -08:00
ngtsc fix(ivy): throw if @Input and @ContentChild share a property (#28415) 2019-01-29 16:40:22 -08:00
transformers feat(compiler-cli): resolve generated Sass/Less files to .css inputs (#28166) 2019-01-18 09:49:19 -08:00
extract_i18n.ts refactor(compiler): remove all source-level traces to tsc-wrapped (#18966) 2017-09-13 20:47:37 -04: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 test(ivy): introduce route testing mode for ngtsc tests (#27697) 2019-01-22 12:02:10 -08: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 feat(ivy): produce diagnostics for missing exports, incorrect entrypoint (#27743) 2019-01-08 16:36:18 -08:00
perform_compile.ts feat(compiler-cli): add support to extend `angularCompilerOptions` (#22717) 2018-09-19 16:17:28 -07:00
perform_watch.ts refactor(compiler): typo (#25496) 2018-11-05 12:53:04 -08:00
version.ts style: remove empty comments (#23404) 2018-05-10 15:48:13 -07:00