Move binop handling logic to expr_pass, remove delayed imports of get_operand_value

This commit is contained in:
Pragyansh Chaturvedi
2025-10-13 00:36:42 +05:30
parent 2a1eabc10d
commit 158cc42e1e
4 changed files with 117 additions and 119 deletions

View File

@ -1,4 +1,4 @@
from .expr_pass import eval_expr, handle_expr
from .expr_pass import eval_expr, handle_expr, get_operand_value
from .type_normalization import convert_to_bool, get_base_type_and_depth, deref_to_depth
__all__ = [
@ -7,4 +7,5 @@ __all__ = [
"convert_to_bool",
"get_base_type_and_depth",
"deref_to_depth",
"get_operand_value",
]