angular-docs-cn/packages/compiler-cli/test/ngtsc
Alex Rickabaugh 2befc65777 fix(ivy): ngtsc should pay attention to declaration order (#25392)
When generating the 'directives:' property of ngComponentDef, ngtsc
needs to be conscious of declaration order. If a directive being
written into the array is declarated after the component currently
being compiled, then the entire directives array needs to be wrapped
in a closure.

This commit fixes ngtsc to pay attention to such ordering issues
within directives arrays.

PR Close #25392
2018-08-09 09:58:13 -07:00
..
fake_core test(ivy): run compiler compliance tests without rebuilding core,common (#25248) 2018-08-03 13:08:51 -07:00
BUILD.bazel test: switch to ts_web_test_suite (#23859) 2018-05-15 11:40:56 -07:00
ngtsc_spec.ts fix(ivy): ngtsc should pay attention to declaration order (#25392) 2018-08-09 09:58:13 -07:00