-
Notifications
You must be signed in to change notification settings - Fork 2
Conversation
f55f2f6
to
0e181c6
Compare
What is the purpose of this change?
Line 502 in b5c15a2
Part of the reason that we should deal with that result directly is because of changes like this, where we want to add more information to the returned response and be able to propagate that up to the KCFGExplore as well. |
It's a clean-up:
I agree, the more complexity we can eliminate the better, we could replace the return type by a wrapper on if len(next_states) == 1 and len(next_states) < len(_next_states):
return ...
elif len(next_states) == 1:
if er.reason == StopReason.CUT_POINT_RULE:
return ...
else:
next_states = []
return ... by return ... |
Sounds good, thank you for the explanation! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great clean-up!
* Extract class `CTermExecute` to represent the return value * Assert some properties on the RPC response and simplify logic --------- Co-authored-by: devops <[email protected]>
* Extract class `CTermExecute` to represent the return value * Assert some properties on the RPC response and simplify logic --------- Co-authored-by: devops <[email protected]>
* Extract class `CTermExecute` to represent the return value * Assert some properties on the RPC response and simplify logic --------- Co-authored-by: devops <[email protected]>
* Extract class `CTermExecute` to represent the return value * Assert some properties on the RPC response and simplify logic --------- Co-authored-by: devops <[email protected]>
CTermExecute
to represent the return value