Closed softmattertheory closed 1 year ago
Describe the bug A function with only variadic parameters raises an argument error 'InvldArgs'.
To Reproduce fn f(...a) { print a }
f(1) f(1,2) f(1,2,3)
Expected behavior The above example should, respectively, print: [1] [1,2] [1,2,3]
Fixed by #186
Describe the bug A function with only variadic parameters raises an argument error 'InvldArgs'.
To Reproduce fn f(...a) { print a }
f(1) f(1,2) f(1,2,3)
Expected behavior The above example should, respectively, print: [1] [1,2] [1,2,3]