[Issue 11336] New: ElementType does not support types with disabled postblits
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 24 00:40:41 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11336
Summary: ElementType does not support types with disabled
postblits
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: monarchdodra at gmail.com
--- Comment #0 from monarchdodra at gmail.com 2013-10-24 00:40:40 PDT ---
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
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list