angular/packages/compiler-cli/src/ngtsc/partial_evaluator
Alex Rickabaugh a06824aef6 fix(ivy): correctly evaluate enum references in template expressions (#29062)
The ngtsc partial evaluator previously would not handle an enum reference
inside a template string expression correctly. Enums are resolved to an
`EnumValue` type, which has a `resolved` property with the actual value.

When effectively toString-ing a `ResolvedValue` as part of visiting a
template expression, the partial evaluator needs to translate `EnumValue`s
to their fully resolved value, which this commit does.

PR Close #29062
2019-03-01 15:47:24 -08:00
..
src fix(ivy): correctly evaluate enum references in template expressions (#29062) 2019-03-01 15:47:24 -08:00
test fix(ivy): correctly evaluate enum references in template expressions (#29062) 2019-03-01 15:47:24 -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
index.ts feat(ivy): DynamicValue now indicates why the value is dynamic (#27697) 2019-01-22 12:02:09 -08:00