You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen/gen.py
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -243,6 +243,10 @@ def __call__(
243
243
argument_type_gen=argument_type_gen
244
244
).convert_arguments(arguments)
245
245
246
+
# +1 for the return value
247
+
num_boxed_args=len(binding_list) +1
248
+
# This safety check does not account for optional args with default values. ET itself doesnt support default args, but when supported is added this check can be relaxed to >= # of non default arg.
0 commit comments