b7bbc82e3e
Previously, when translating an assignment expression (e.g. x = 3), the translator would always print the statement as X = Y. However, if the expression is included in a larger expression (X = (Y = Z)), the translator would print "X = Y = Z" without regard for the outer expression context. Now, the translator understands when it's printing an expression statement (X = Y;) vs an expression in a larger context (X = (Y = Z);) and encapsulates the latter in parentheses. PR Close #24862 |
||
---|---|---|
.. | ||
diagnostics | ||
metadata | ||
ngtsc | ||
transformers | ||
extract_i18n.ts | ||
language_services.ts | ||
main.ts | ||
ngtools_api.ts | ||
ngtools_api2.ts | ||
perform_compile.ts | ||
perform_watch.ts | ||
version.ts |