Use dependency inversion to remove handler delayed import in eval_expr

This commit is contained in:
Pragyansh Chaturvedi
2025-10-13 02:28:00 +05:30
parent 158cc42e1e
commit fc058c4341
3 changed files with 83 additions and 45 deletions

View File

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