angular-cn/tools/public_api_guard
Alex Rickabaugh 13c2fad240 fix(ivy): throw a better error when DI can't inject a ctor param (#33739)
Occasionally a factory function needs to be generated for an "invalid"
constructor (one with parameters types which aren't injectable). Typically
this happens in JIT mode where understanding of parameters cannot be done in
the same "up-front" way that the AOT compiler can.

This commit changes the JIT compiler to generate a new `invalidFactoryDep`
call for each invalid parameter. This instruction will error at runtime if
called, indicating both the index of the invalid parameter as well as (via
the stack trace) the factory function which was generated for the type being
constructed.

Fixes #33637

PR Close #33739
2019-12-09 11:37:10 -08:00
..
animations
common refactor(common): add defaults to new generic parameters (#34206) 2019-12-03 16:16:30 -08:00
core fix(ivy): throw a better error when DI can't inject a ctor param (#33739) 2019-12-09 11:37:10 -08:00
elements
forms refactor(forms): remove ngForm element selector (#33058) 2019-10-11 15:43:56 -07:00
http
localize
platform-browser
platform-browser-dynamic
platform-server
platform-webworker docs(platform-webworker): mark all public APIs as deprecated (#33824) 2019-11-15 16:14:37 -08:00
platform-webworker-dynamic
router
service-worker
upgrade
BUILD.bazel
global_utils.d.ts
public_api_guard.bzl