From 4c85a7af9236325f52b9026c08b32e8090c7d2d7 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 9 Jun 2023 18:38:49 -0400 Subject: doc: Dictionaries are ordered since Meson 0.62.0 This is a side effect of requiring Python >= 3.7 which itself guarantees dictionary order. This is now a Meson language guarantee as well which is required for passing default_options as dict and is generally expected by users. --- docs/yaml/elementary/dict.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/yaml/elementary/dict.yml b/docs/yaml/elementary/dict.yml index f3ca837d0..19263dfa1 100644 --- a/docs/yaml/elementary/dict.yml +++ b/docs/yaml/elementary/dict.yml @@ -8,8 +8,9 @@ description: | You can also iterate over dictionaries with the [`foreach` statement](Syntax.md#foreach-statements). - *(since 0.48.0)* Dictionaries can be added (e.g. `d1 = d2 + d3` and `d1 += d2`). + *(since 0.48.0)*: Dictionaries can be added (e.g. `d1 = d2 + d3` and `d1 += d2`). Values from the second dictionary overrides values from the first. + *(since 0.62.0)*: Dictionary order is guaranteed to be insertion order. methods: -- cgit v1.2.3