================
@@ -25,22 +25,42 @@ class ExpectedValueWriter:
def __init__(self, expect: Expect, value: ValueIR):
self.expect = expect
self.root_value = value
- self.expected_value = expect.get_variable_result(value)
+ self.expected_value: Union[Dict, str, None] = None
+ if sub_values := self.root_value.sub_values:
----------------
jmorse wrote:
Comment as to what's going on here appreciated -- we construct
sub-expected-value-writer objects because this might be an aggregate?
https://github.com/llvm/llvm-project/pull/202800
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits