Bug 17159 – Behavior of unions at compile time is not documented

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-02-08T14:47:18Z
Last change time
2017-08-16T13:23:43Z
Keywords
CTFE, pull, spec
Assigned to
No Owner
Creator
anonymous4

Comments

Comment #0 by dfj1esp02 — 2017-02-08T14:47:18Z
E.g. access to overlapped fields is not allowed.
Comment #1 by meapineapple — 2017-02-08T17:48:56Z
From IRC: <uplink|dmd> lost my login <uplink|dmd> can someone answer this http://forum.dlang.org/thread/[email protected] and say that this has been the case for ages <uplink|dmd> and that newCTFE will eventually fix it if it is _really_ desired I'd say it catches bugs
Comment #2 by greensunny12 — 2017-06-15T05:17:52Z
Comment #3 by github-bugzilla — 2017-07-10T18:06:42Z
Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/e6085cb8faa58a8dcf243aacd3bc93f3ac89d8b2 Fix Issue 17159 - Behavior of unions at compile time is not documented https://github.com/dlang/dlang.org/commit/eefbd0fd9aedce5c063e135a295e84f183d0e62a Merge pull request #1702 from wilzbach/fix-17159 Fix Issue 17159 - Behavior of unions at compile time is not documented merged-on-behalf-of: Vladimir Panteleev <[email protected]>
Comment #4 by github-bugzilla — 2017-08-14T23:56:12Z
Commits pushed to newCTFE at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/e6085cb8faa58a8dcf243aacd3bc93f3ac89d8b2 Fix Issue 17159 - Behavior of unions at compile time is not documented https://github.com/dlang/dlang.org/commit/eefbd0fd9aedce5c063e135a295e84f183d0e62a Merge pull request #1702 from wilzbach/fix-17159
Comment #5 by github-bugzilla — 2017-08-16T13:23:43Z
Commits pushed to stable at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/e6085cb8faa58a8dcf243aacd3bc93f3ac89d8b2 Fix Issue 17159 - Behavior of unions at compile time is not documented https://github.com/dlang/dlang.org/commit/eefbd0fd9aedce5c063e135a295e84f183d0e62a Merge pull request #1702 from wilzbach/fix-17159