Bug 18747 – [Structs, Unions]

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-04-09T17:17:23Z
Last change time
2018-04-13T12:26:44Z
Assigned to
No Owner
Creator
vijay.pc

Comments

Comment #0 by vijay.pc — 2018-04-09T17:17:23Z
In the example for union initialisation, the variable y should be of type V rather than type U.
Comment #1 by greensunny12 — 2018-04-09T19:28:48Z
Comment #2 by github-bugzilla — 2018-04-13T12:26:43Z
Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/3e85ad29d5dedb0d2b2505cf82b9d01db1556aa9 Fix Issue 18747 - [Structs, Unions] example is invalid https://github.com/dlang/dlang.org/commit/75ec79da610de86d9aad7cc6258832d118d52963 Merge pull request #2337 from wilzbach/fix-18747 Fix Issue 18747 - [Structs, Unions] example is invalid