> in D, variadic argument size will be 0 when calling fun(bar()); since bar 
> returns void isn't that a better behavior? if not what would be downsides of 
> that?

It doesn't? Aside from the wrong semi-colon in the for-loop it gives an error:

[https://run.dlang.io/is/6sfUA5](https://run.dlang.io/is/6sfUA5)

"cannot deduce function from argument types !()(void)"

It seems like weird behavior if that were the case. What would fun(1, bar(), 
1); do, give a list of 2 integers?

Reply via email to