Per title, the test test_hook_match_case_block_merge is broken because for some reason hook_call is losing it's reference when passed through the match hook. Issue looks like the reference is lost when we reparse the block which gets a new hook_call object at:
block_hook_input = HookCallInput(**val)
In the match hook. Noting this here as this is a mind fuck and don't have time for this wormhole now.
Best way to track this issue is by calling id(hook_call) as it passes through the logic -> ie it is different in the parser vs the hook itself.
Per title, the test
test_hook_match_case_block_merge
is broken because for some reasonhook_call
is losing it's reference when passed through the match hook. Issue looks like the reference is lost when we reparse the block which gets a new hook_call object at:In the match hook. Noting this here as this is a mind fuck and don't have time for this wormhole now.
Best way to track this issue is by calling
id(hook_call)
as it passes through the logic -> ie it is different in the parser vs the hook itself.