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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 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/[email protected]
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------