https://issues.dlang.org/show_bug.cgi?id=7014

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #4 from Nick Treleaven <[email protected]> ---
(In reply to bearophile_hugs from comment #0)
> union Foo { int s; uint u; };
> void bar(Foo f) {}
> void main() {
>     bar(Foo(u:5));
> }

That is implemented as of:
https://dlang.org/changelog/2.108.0.html#dmd.named-arguments

--

Reply via email to