← Back to index
|
Original Bugzilla link
Bug 8037 – hasElaborateDestructor is false for non-zero-length static array of structs with elaborate destructor
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-05-04T09:15:00Z
Last change time
2012-05-07T00:15:53Z
Assigned to
nobody
Creator
verylonglogin.reg
Comments
Comment #0
by verylonglogin.reg — 2012-05-04T09:15:15Z
--- struct S { ~this() {} } static assert(!hasElaborateDestructor!(S[0])); // Passes static assert( hasElaborateDestructor!(S[1])); // Fails ---
Comment #1
by verylonglogin.reg — 2012-05-04T10:12:57Z
Pull: ://github.com/D-Programming-Language/phobos/pull/568 Shouldn't github paste pull link here?
Comment #2
by verylonglogin.reg — 2012-05-04T10:13:19Z
(In reply to comment #1) > Pull: ://github.com/D-Programming-Language/phobos/pull/568
https://github.com/D-Programming-Language/phobos/pull/568
Comment #3
by github-bugzilla — 2012-05-06T23:58:39Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/a6e38e347247b35bb8473f0e0b9084fb6cb43721
Fix Issue 8037 - hasElaborateDestructor is false for non-zero-length static array of structs with elaborate destructor
https://github.com/D-Programming-Language/phobos/commit/0e42d76509f04e637a1a23a6bcadc1e0c3f111bd
Merge pull request #568 from denis-sh/hasElaborateDestructor-fix Fix Issue 8037 - hasElaborateDestructor is false for non-zero-length static array of structs with elaborate destructor