angular-cn/packages/compiler-cli/integrationtest/test
Tobias Bosch 1dacae2c3c fix(compiler): work well with `forwardRef` with `useValue` / `useFactory`
The new expression lowering lowers everything after `useValue` / `useFactory`
into a separate exported variable. If the value was a `forwardRef`, this
was passed to the runtime and resulted in errors.

This change unwraps `forwardRef`s during runtime again.

Note: we can’t unwrap the `forwardRef` into an exported variable
during compile time, as this would defeat the purpose of the
`forwardRef` in referring to something that can’t be referred to
at this position.
2017-09-25 13:36:00 -07:00
..
all_spec.ts feat: add .ngsummary.ts files to support AOT unit tests 2017-05-05 13:23:53 -04:00
animate_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
basic_spec.ts build: roll up to named .js files rather than 'index.js' (#19190) 2017-09-19 16:59:18 -07:00
entry_components_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
forward_ref_spec.ts fix(compiler): work well with `forwardRef` with `useValue` / `useFactory` 2017-09-25 13:36:00 -07:00
i18n_spec.ts refactor(compiler): use new ngc for i18n (#19095) 2017-09-12 18:55:32 -04:00
init.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
jit_summaries_spec.ts feat: add .ngsummary.ts files to support AOT unit tests 2017-05-05 13:23:53 -04:00
ng_module_spec.ts feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
projection_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
query_spec.ts fix(compiler): generated code should pass `noUnusedLocals` check 2017-03-14 19:52:53 -07:00
source_map_spec.ts refactor(compiler-cli): use the transformer based compiler by default 2017-08-10 20:30:40 -07:00
test_ngtools_api.ts build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
test_summaries.ts build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
util.ts feat: add .ngsummary.ts files to support AOT unit tests 2017-05-05 13:23:53 -04:00