diff options
author | Brad King <brad.king@kitware.com> | 2018-10-17 17:27:49 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-10-17 17:27:56 (GMT) |
commit | 78681bf001f4f29cf2f452327587669078a39461 (patch) | |
tree | 2f3385af26bcfa5c3cf4f4494c44d9492135e1bb /Help/release | |
parent | f21d811c7c4c9b61c6c81414b3e8803db392183c (diff) | |
parent | 121a036f73665a18ccadeaf50b00cc623d8ed9df (diff) | |
download | CMake-78681bf001f4f29cf2f452327587669078a39461.zip CMake-78681bf001f4f29cf2f452327587669078a39461.tar.gz CMake-78681bf001f4f29cf2f452327587669078a39461.tar.bz2 |
Merge topic 'better-empty-list-behavior'
121a036f73 cmListCommand: handle empty lists for list(REMOVE_AT)
acfe53c588 cmListCommand: make list(ACTION not_a_list) succeed when idempotent
bf572ac952 cmListCommand: check list(FILTER) operation before the list
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2478
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/better-empty-list-behavior.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Help/release/dev/better-empty-list-behavior.rst b/Help/release/dev/better-empty-list-behavior.rst new file mode 100644 index 0000000..cd864f4 --- /dev/null +++ b/Help/release/dev/better-empty-list-behavior.rst @@ -0,0 +1,9 @@ +better-empty-list-behavior +-------------------------- + +* The :command:`list` operations ``REMOVE_ITEM``, ``REMOVE_DUPLICATES``, + ``SORT``, ``REVERSE``, and ``FILTER`` all now accept a non-existent variable + as the list since these operations on empty lists is also the empty list. + +* The :command:`list` operation ``REMOVE_AT`` now indicates that the given + indices are invalid for a non-existent variable or empty list. |