Skip to content

Commit ed4f3a9

Browse files
committed
only for string args
1 parent d51ef4f commit ed4f3a9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

hvcc/interpreters/pd2hv/HeavyObject.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ def __init__(
7373
"__tabread_stoppable~f"
7474
):
7575
for i, a in enumerate(obj_args):
76-
obj_args[i] = a.split(" ")[0] if "@hv_table" in a else a
76+
if isinstance(a, str):
77+
obj_args[i] = a.split(" ")[0] if "@hv_table" in a else a
7778

7879
for i, a in enumerate(self.__obj_dict.args):
7980
arg = cast(Union[IRArg, LangArg], a)

0 commit comments

Comments
 (0)