http://d.puremagic.com/issues/show_bug.cgi?id=3048
Sobirari Muhomori ma...@pochta.ru changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=2933
Sobirari Muhomori ma...@pochta.ru changed:
What|Removed |Added
CC|
import std.string;
import std.array;
import std.algorithm;
void main()
{
string[] sa = [TOM,JOE,TOM4,TOM12,TOM6];
sort!(comp)(sa);
}
bool comp(string x, string y)
{
string[] s = [x,y];
return isSorted(s);
}
this code compiles find, but when run gives the following
On Thu, 04 Jun 2009 07:18:33 -0400, A.M. ama...@gmail.com wrote:
import std.string;
import std.array;
import std.algorithm;
void main()
{
string[] sa = [TOM,JOE,TOM4,TOM12,TOM6];
sort!(comp)(sa);
}
bool comp(string x, string y)
{
string[] s = [x,y];
return
http://d.puremagic.com/issues/show_bug.cgi?id=3051
Summary: Passing alias to member function does not work (1/2)
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=3052
Summary: Passing alias to member function does not work (2/2)
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=3050
--- Comment #1 from Shin Fujishiro rsi...@gmail.com 2009-06-04 15:37:11 PDT
---
Created an attachment (id=391)
-- (http://d.puremagic.com/issues/attachment.cgi?id=391)
Additional patch
Please apply this patch in addition to the first one.
d-bugm...@puremagic.com wrote:
http://d.puremagic.com/issues/show_bug.cgi?id=3050
Summary: Allow exception in CTFE (patch)
Product: D
Version: 2.030
Platform: x86
OS/Version: All
Status: NEW
Keywords: patch
http://d.puremagic.com/issues/show_bug.cgi?id=3050
--- Comment #2 from Shin Fujishiro rsi...@gmail.com 2009-06-04 20:42:46 PDT
---
Created an attachment (id=392)
-- (http://d.puremagic.com/issues/attachment.cgi?id=392)
Patch: scope(success/failure/exit)
Supplemental patch to get scope
Robert Fraser fraseroftheni...@gmail.com wrote:
Since scope() is defined in terms of try/finally, would it be much
harder to get scope(success/failure/exit) working in CTFE?
Nope. I forgot about those. :) Thanks!
10 matches
Mail list logo