http://d.puremagic.com/issues/show_bug.cgi?id=10648

           Summary: std.traits.isMutable is true for struct defined
                    immutable
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2013-07-15 10:13:33 PDT ---
With dmd 2.064alpha this code runs with no assert errors:


import std.traits: isMutable;
immutable struct Foo {}
void main () {
    static assert(isMutable!Foo);
}



Issue found by JS:
http://forum.dlang.org/thread/xjpfwfydzxxwqisvq...@forum.dlang.org

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

Reply via email to