On Thursday, 9 July 2020 at 19:53:42 UTC, JN wrote: > void foo(int[int] bar) > { > // ... > } > > > > Is it possible to send an empty array literal? > > foo( [ 0 : 2 ] ) works > foo( [] ) doesn't > > int[int] empty; > foo(empty); > works but it's two lines I always did foo((int[int]).init);