================
@@ -110,9 +110,6 @@ def get_active_wheres(where: Where, scope: Scope):
# As we visit the script nodes in pre-order traversal, we can always
assume that an expect's parent !where
# has already been visited, and thus should have an entry in
active_where_expects if it is active.
def get_active_expects(expect: Expect, expected_value, scope: Scope):
----------------
SLTozer wrote:
The assert is primarily a type checking convenience, since the result dict
mapped from `Value` types - this patch updates the handling code to handle
other kinds of expects, and the dict is updated to contain other kinds of
expects, and thus we no longer need to assert that the expect is of a
particular type (because we assume they are all handled in the receiver).
https://github.com/llvm/llvm-project/pull/202802
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits