@variadic works with dynamic array arg, that’s actually why Caml_splice_call.spliceApply
is used.
If you select v12 you’ll notice it now compiles to a cleaner:
Path.join(...args2)
@variadic works with dynamic array arg, that’s actually why Caml_splice_call.spliceApply
is used.
If you select v12 you’ll notice it now compiles to a cleaner:
Path.join(...args2)