[Issue 8644] New: CTFE doesn't support string >,< on array literals
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 12 00:38:43 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8644
Summary: CTFE doesn't support string >,< on array literals
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2012-09-12 00:39:01 PDT ---
int bug()
{
auto m = "a";
auto z = ['b'];
assert(m < z); // Error, not supported at compile time
return 1;
}
static assert( bug());
--
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