angular-cn/packages/language-service/src
Tobias Bosch 5c34066058 fix(compiler): only warn for `@Injectable` classes with invalid args.
In v2.x, users had to annotate classes that they intended to use as tokens with `@Injectable`. This is no longer required in v4.x for tokens,
and we now require the constructor parameters of classes annotated
with `@Injectable` to be statically analyzable by ngc.

This commit reduces the error into a warning
if the constructor parameters do not meet this condition.

DEPRECATION:
- Classes annotated with `@Injectable` but whose constructor’s parameter types
  are not statically analyzable by ngc will produce a warning.

Closes #15003
2017-03-14 19:52:53 -07:00
..
ast_path.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
common.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
completions.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
definitions.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
diagnostics.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
expressions.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
hover.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
html_info.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
html_path.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
language_service.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
locate_symbol.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
reflector_host.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
template_path.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
ts_plugin.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
types.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
typescript_host.ts fix(compiler): only warn for `@Injectable` classes with invalid args. 2017-03-14 19:52:53 -07:00
utils.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
version.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00