[llvm-branch-commits] [llvm] [Dexter] Allow matching lists of values for aggregate members (PR #204160)

Orlando Cazalet-Hyams via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 29 03:58:56 PDT 2026


================
@@ -193,9 +193,14 @@ def _get_dict_actual_result(
                     None,
                 )
             )
-            sub_expect_results[sub_expect] = DebuggerExpectMatch(
-                self.expect, sub_expected, value, self.provisional_match_context
-            )
+            if value is None:
+                sub_expect_results[sub_expect] = DebuggerExpectMatch(
+                    self.expect, None, None, self.provisional_match_context
+                )
+            else:
+                sub_expect_results[sub_expect] = get_expect_match(
+                    self.expect, sub_expected, value, self.provisional_match_context
+                )
----------------
OCHyams wrote:

would you mind explaining how the change implements/allows the behaviour, for the dexter-unenlightened?

https://github.com/llvm/llvm-project/pull/204160


More information about the llvm-branch-commits mailing list