angular/packages/compiler-cli/test/compliance
Alex Rickabaugh 881807dc36 fix(ivy): never use imported type references as values (#29111)
ngtsc occasionally converts a type reference (such as the type of a
parameter in a constructor) to a value reference (argument to a
directiveInject call). TypeScript has a bad habit of sometimes removing
the import statement associated with this type reference, because it's a
type only import when it initially looks at the file.

A solution to this is to always add an import to refer to a type position
value that's imported, and not rely on the existing import.

PR Close #29111
2019-03-05 16:47:41 -08:00
..
BUILD.bazel 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
mock_compile.ts test(ivy): compiler compliance tests should support ? (#25435) 2018-08-10 17:12:18 -07:00
mock_compiler_spec.ts refactor(ivy): remove short instruction names as they provide no value (#25493) 2018-08-16 11:04:34 -07:00
r3_compiler_compliance_spec.ts fix(ivy): never use imported type references as values (#29111) 2019-03-05 16:47:41 -08:00
r3_view_compiler_binding_spec.ts fix(ivy): support property values changed in ngOnChanges (forward rref case) (#29054) 2019-03-05 14:27:08 -08:00
r3_view_compiler_di_spec.ts feat(ivy): enable inheritance of factory functions in definitions (#25392) 2018-08-09 09:58:13 -07:00
r3_view_compiler_directives_spec.ts fix(ivy): ensure unique template and listener function identifiers (#27766) 2019-01-04 12:28:11 -08:00
r3_view_compiler_i18n_spec.ts fix(ivy): support property values changed in ngOnChanges (forward rref case) (#29054) 2019-03-05 14:27:08 -08:00
r3_view_compiler_input_outputs_spec.ts fix(compiler): generate inputs with aliases properly (#26774) 2018-10-26 17:23:45 -04:00
r3_view_compiler_listener_spec.ts fix(ivy): ensure unique template and listener function identifiers (#27766) 2019-01-04 12:28:11 -08:00
r3_view_compiler_providers_spec.ts feat(ivy): support providers and viewProviders (#25803) 2018-10-25 12:58:40 -04:00
r3_view_compiler_spec.ts fix(ivy): ensure animation @trigger ordering is correctly delivered to the renderer (#28165) 2019-01-17 09:58:29 -08:00
r3_view_compiler_styling_spec.ts fix(ivy): support property values changed in ngOnChanges (forward rref case) (#29054) 2019-03-05 14:27:08 -08:00
r3_view_compiler_template_spec.ts fix(ivy): support property values changed in ngOnChanges (forward rref case) (#29054) 2019-03-05 14:27:08 -08:00
README.md build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00

Tests in this directory should be run with:

yarn bazel test --define=compile=aot  packages/compiler-cli/test/compliance:compliance