www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18747] New: [Structs, Unions]

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

          Issue ID: 18747
           Summary: [Structs, Unions]
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: vijay.pc gmail.com

In the example for union initialisation, the variable y should be of type V
rather than type U.

--
Apr 09 2018