www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11336] New: ElementType does not support types with disabled postblits

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: monarchdodra gmail.com



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: -------
Oct 24 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11336




https://github.com/D-Programming-Language/phobos/pull/1658

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 24 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11336




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


Fix Issue 11336 - ElementType does not support types with disabled postb...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 24 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11336


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 24 2013