angular/packages/core/src/reflection
Bolek Szewczyk 00075647be fix(compiler): inherit param types when class has a constructor which takes no declared parameters and delegates up (#29232)
In ReflectionCapabilities, when checking for own parameters of a type, inherit the types properly for classes that do have a constructor, but the constructor takes no declared parameters and just delegates to super(...arguments). This removes the need to declare trivial constructors in such classes to make them work properly in JIT mode. Without this, DI fails and injectables are undefined.

PR Close #29232
2019-03-22 13:12:25 -07:00
..
BUILD.bazel style: enforce buildifier lint on CI (#28186) 2019-02-26 16:57:41 -08:00
platform_reflection_capabilities.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
reflection.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
reflection_capabilities.ts fix(compiler): inherit param types when class has a constructor which takes no declared parameters and delegates up (#29232) 2019-03-22 13:12:25 -07:00
reflector.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
types.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00