https://issues.dlang.org/show_bug.cgi?id=1547
Nick Treleaven <n...@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |n...@geany.org --- Comment #4 from Nick Treleaven <n...@geany.org> --- (In reply to Bill Baxter from comment #0) > void foo(Struct s = null) Nice that this is now allowed, is it possible to also allow calling foo(null)? Then structs could be a drop-in replacement for pointers, but doing some extra checks on certain operations. --