angular-cn/packages/core/test/render3/compiler_canonical
Victor Berchet 4f36340de7 feat(ivy): add support for short-circuiting (#24039)
Short-circuitable expressions (using ternary & binary operators) could not use
the regular binding mechanism as it relies on the bindings being checked every
single time - the index is incremented as part of checking the bindings.

Then for pure function kind of bindings we use a different mechanism with a
fixed index. As such short circuiting a binding check does not mess with the
expected binding index.

Note that all pure function bindings are handled the same wether or not they
actually are short-circuitable. This allows to keep the compiler and compiled
code simple - and there is no runtime perf cost anyway.

PR Close #24039
2018-05-25 13:46:50 -04:00
..
back_patch_types_specs.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
component_directives_spec.ts feat(ivy): add support for short-circuiting (#24039) 2018-05-25 13:46:50 -04:00
content_projection_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
elements_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
injection_spec.ts style: remove empty comments (#23404) 2018-05-10 15:48:13 -07:00
life_cycle_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
local_reference_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
ng_module_spec.ts feat(ivy): support injection even if no injector present (#23345) 2018-04-13 14:29:52 -07:00
normative.md refactor(ivy): break compiler canonical test into smaller files (#22510) 2018-03-05 10:10:32 -08:00
patch_types_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
pipes_spec.ts feat(ivy): add support for short-circuiting (#24039) 2018-05-25 13:46:50 -04:00
query_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
sanitize_spec.ts fix(ivy): support separate creation mode and update mode execution in runtime (#23292) 2018-04-11 15:30:39 -07:00
small_app_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00
template_variables_spec.ts refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private (#23371) (#23383) 2018-04-14 20:40:14 -07:00