Re: [D1] capitalize cannot be interpreted at CT

2010-07-22 Thread Steven Schveighoffer
On Thu, 22 Jul 2010 13:25:04 -0400, Jonathan M Davis wrote: On Thursday, July 22, 2010 06:53:30 BCS wrote: Hello Don, > Ellery Newcomer wrote: >> On 07/21/2010 09:09 PM, strtr wrote: >>> Could somebody please explain this error to me. >> >> evidently ctfe can't eat >> >> foreach(i, dchar d;

Re: [D1] capitalize cannot be interpreted at CT

2010-07-22 Thread Jonathan M Davis
On Thursday, July 22, 2010 06:53:30 BCS wrote: > Hello Don, > > > Ellery Newcomer wrote: > >> On 07/21/2010 09:09 PM, strtr wrote: > >>> Could somebody please explain this error to me. > >> > >> evidently ctfe can't eat > >> > >> foreach(i, dchar d; s){ > >> } > >> Bleach. Make sure it's in bugz

Re: [D1] capitalize cannot be interpreted at CT

2010-07-22 Thread BCS
Hello Don, Ellery Newcomer wrote: On 07/21/2010 09:09 PM, strtr wrote: Could somebody please explain this error to me. evidently ctfe can't eat foreach(i, dchar d; s){ } Bleach. Make sure it's in bugzilla. CTFE currently doesn't work on *any* functions which are implemented in druntime,

Re: [D1] capitalize cannot be interpreted at CT

2010-07-22 Thread Don
Ellery Newcomer wrote: On 07/21/2010 09:09 PM, strtr wrote: Could somebody please explain this error to me. evidently ctfe can't eat foreach(i, dchar d; s){ } Bleach. Make sure it's in bugzilla. CTFE currently doesn't work on *any* functions which are implemented in druntime, because it d

Re: [D1] capitalize cannot be interpreted at CT

2010-07-21 Thread strtr
== Quote from Ellery Newcomer (ellery-newco...@utulsa.edu)'s article > On 07/21/2010 09:09 PM, strtr wrote: > > Could somebody please explain this error to me. > evidently ctfe can't eat > foreach(i, dchar d; s){ > } > Bleach. Make sure it's in bugzilla. Thanks, found it: http://d.puremagic.com/iss

Re: [D1] capitalize cannot be interpreted at CT

2010-07-21 Thread Ellery Newcomer
On 07/21/2010 09:09 PM, strtr wrote: Could somebody please explain this error to me. evidently ctfe can't eat foreach(i, dchar d; s){ } Bleach. Make sure it's in bugzilla.

[D1] capitalize cannot be interpreted at CT

2010-07-21 Thread strtr
Could somebody please explain this error to me. import std.uni : toUniUpper; import std.string : capitalize; void main() { const char[] name = `test`; // C:\dmd\src\phobos\std\string.d(983): Error: _aApplycd2 cannot be interpreted at compile time, because it has no available