[Issue 11853] New: Tuples fail "isAssignable"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 31 04:00:41 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11853

           Summary: Tuples fail "isAssignable"
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2013-12-31 04:00:39 PST ---
Works in 2.064.2. Fails in master:

//----
import std.traits, std.typecons;

void main()
{
    alias T = Tuple!int;
    static assert(isAssignable!T);
}
//----
main.d(6): Error: static assert  (isAssignable!(Tuple!int)) is false
//----

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


More information about the Digitalmars-d-bugs mailing list