angular-cn/packages/compiler-cli/test/ngtsc
George Kalpakas c79d50f38f refactor(compiler-cli): avoid superfluous parenthesis around statements (#33514)
Previously, due to a bug a `Context` with `isStatement: false` could be
returned in places where a `Context` with `isStatement: true` was
requested. As a result, some statements would be unnecessarily wrapped
in parenthesis.

This commit fixes the bug in `Context#withStatementMode` to always
return a `Context` with the correct `isStatement` value. Note that this
does not have any impact on the generated code other than avoiding some
superfluous parenthesis on certain statements.

PR Close #33514
2019-11-13 13:49:30 -08:00
..
fake_core fix(ivy): throw better error for missing generic type in ModuleWithProviders (#33187) 2019-10-18 14:49:54 -04:00
BUILD.bazel build: remove redundant `@types/source-map` dependency (#31468) 2019-07-11 17:18:12 -04:00
component_indexing_spec.ts feat(ivy): index template references, variables, bound attributes/events (#31535) 2019-07-25 13:09:10 -07:00
env.ts fix(compiler-cli): remove unused CLI private exports (#33242) 2019-11-01 17:43:47 +00:00
incremental_spec.ts fix(ivy): ensure module scope is rebuild on dependent change (#33522) 2019-11-12 13:56:30 -08:00
ngtsc_spec.ts refactor(compiler-cli): avoid superfluous parenthesis around statements (#33514) 2019-11-13 13:49:30 -08:00
scope_spec.ts refactor(core): rename ngModuleDef to ɵmod (#33142) 2019-10-14 23:08:10 +00:00
sourcemap_utils.ts refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
template_mapping_spec.ts perf(ivy): move attributes array into component def (#32798) 2019-10-09 13:16:55 -07:00
template_typecheck_spec.ts fix(ivy): don't crash on unknown pipe (#33454) 2019-10-31 23:43:32 +00:00