d127d05dc3
The partial evaluator in ngtsc can handle a shorthand property declaration in the middle evaluation, but fails if evaluation starts at the shorthand property itself. This is because evaluation starts at the ts.Identifier of the property (the ts.Expression representing it), not the ts.Declaration for the property. The fix for this is to detect in TypeScriptReflectionHost when a ts.Symbol refers to a shorthand property, and to use the ts.TypeChecker method getShorthandAssignmentValueSymbol() to resolve the value of the assignment instead. FW-1089 #resolve PR Close #28936 |
||
---|---|---|
.. | ||
integrationtest | ||
src | ||
test | ||
BUILD.bazel | ||
index.ts | ||
ngtools2.ts | ||
package.json | ||
tsconfig-build.json | ||
tsconfig.json |