|
|
@ -283,6 +283,8 @@ def get_sig(ir): |
|
|
|
for arg in ir.arguments: |
|
|
|
for arg in ir.arguments: |
|
|
|
if isinstance(arg, (list,)): |
|
|
|
if isinstance(arg, (list,)): |
|
|
|
type_arg = '{}[{}]'.format(get_type(arg[0].type), len(arg)) |
|
|
|
type_arg = '{}[{}]'.format(get_type(arg[0].type), len(arg)) |
|
|
|
|
|
|
|
elif isinstance(arg, Function): |
|
|
|
|
|
|
|
type_arg = arg.signature_str |
|
|
|
else: |
|
|
|
else: |
|
|
|
type_arg = get_type(arg.type) |
|
|
|
type_arg = get_type(arg.type) |
|
|
|
args.append(type_arg) |
|
|
|
args.append(type_arg) |
|
|
|