Change loglevel of multi-assignment warning in handle_assign

This commit is contained in:
Pragyansh Chaturvedi
2025-10-08 22:45:09 +05:30
parent 120aec08da
commit 6008d9841f

View File

@ -48,8 +48,11 @@ def handle_assign(
func, module, builder, stmt, map_sym_tab, local_sym_tab, structs_sym_tab
):
"""Handle assignment statements in the function body."""
# TODO: Support this later
# GH #37
if len(stmt.targets) != 1:
logger.info("Unsupported multiassignment")
logger.error("Multi-target assignment is not supported for now")
return
num_types = ("c_int32", "c_int64", "c_uint32", "c_uint64")