Bug 11336 – ElementType does not support types with disabled postblits

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-24T00:40:00Z
Last change time
2013-10-24T04:35:14Z
Assigned to
nobody
Creator
monarchdodra

Comments

Comment #0 by monarchdodra — 2013-10-24T00:40:40Z
import std.range; static struct S { this(this) @disable; } void main() { alias R = S[]; static assert(is(ElementType!R == S)); } //---- Error: static assert (is(void == S)) is false
Comment #1 by monarchdodra — 2013-10-24T00:52:02Z
Comment #2 by github-bugzilla — 2013-10-24T04:35:04Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/a4b932190143704f75a9055a58a0a2538b81cf12 Fix Issue 11336 - ElementType does not support types with disabled postblits https://github.com/D-Programming-Language/phobos/commit/e760a4eac5f9af52a94c53e5b2e92547a3d6d9ac Merge pull request #1658 from monarchdodra/11336 Fix Issue 11336 - ElementType does not support types with disabled postb...