Re: pu$�le

2010-07-18 Thread Jonathan M Davis
On Sunday 18 July 2010 19:47:37 strtr wrote: > Thanks for the explanation! > But what you are talking about is implementation, nowhere in the spec does > it say anything like this (or did I just miss it :). > I could find only this about scope(failure): > "scope(failure) executes NonEmptyOrScopeBlo

Re: pu$�le

2010-07-18 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Sunday 18 July 2010 19:14:11 strtr wrote: > > I'm not sure whether you missed my point or are simple thinking out loud > > about unreachable code being a warning. > > My point was that the unreachable warning was wrong as there i

Re: pu$�le

2010-07-18 Thread Jonathan M Davis
On Sunday 18 July 2010 19:14:11 strtr wrote: > I'm not sure whether you missed my point or are simple thinking out loud > about unreachable code being a warning. > My point was that the unreachable warning was wrong as there is no > unreachable code. Except that there _is_. You just can't see it.

Re: pu$�le

2010-07-18 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Sunday 18 July 2010 17:36:58 strtr wrote: > > > > I don't agree with this bug report because of two reasons. > > 1. Warnings are supposed to be warnings, not errors. If you want to see > > those warnings you'll use -w. > > What y

Re: pu$�le

2010-07-18 Thread Jonathan M Davis
On Sunday 18 July 2010 17:36:58 strtr wrote: > > I don't agree with this bug report because of two reasons. > 1. Warnings are supposed to be warnings, not errors. If you want to see > those warnings you'll use -w. > What you probably want is for the dmd to have a -!w flag instead (warnings > by de

Re: pu$�le

2010-07-18 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Sunday 18 July 2010 10:59:21 strtr wrote: > > I totally agree that putting a cast there is probably not really a solution > > (or legal). > > Warnings for all non-dchar types. > > Is there anybody using foreach(c;chars) || foreac

Re: pu$�le

2010-07-18 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Sunday 18 July 2010 06:16:09 strtr wrote: > > I agree with the warning. A good warning would get people to read up on > > UTF. And if you really want to have char you'll need to cast: > > foreach(cast(char)c; chars) > Actually, t

Re: pu$�le

2010-07-18 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Saturday 17 July 2010 23:01:28 strtr wrote: > > > > > > Cheated? I thought that you were trying to figure out why the code wasn't > > > d oing > > > what you expected it to be doing. So, of course I ran it. > > > Though, it's mor

Re: pu$�le

2010-07-18 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Sunday 18 July 2010 04:13:03 bearophile wrote: > > Jonathan M Davis: > > > You should pretty much never deal with each individual char or wchar in a > > > string or wstring. Do the conversion to dchar or dstring if you want to >

Re: pu$�le

2010-07-18 Thread Jonathan M Davis
On Saturday 17 July 2010 23:01:28 strtr wrote: > > > > Cheated? I thought that you were trying to figure out why the code wasn't > > d oing > > what you expected it to be doing. So, of course I ran it. > > Though, it's more likely that I have an x86 emulator in my brain which > > can run > > dmd t

Re: pu$�le

2010-07-17 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Saturday 17 July 2010 22:10:07 strtr wrote: > > == Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > > > > > On Saturday 17 July 2010 18:59:18 strtr wrote: > > > > That is [dollar sign, euro sign] > > > > > > > > Th

Re: pu$�le

2010-07-17 Thread Jonathan M Davis
On Saturday 17 July 2010 22:10:07 strtr wrote: > == Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > > > On Saturday 17 July 2010 18:59:18 strtr wrote: > > > That is [dollar sign, euro sign] > > > > > > The reason I post it is because I expected the stash to be 3 lower. > > > > We

Re: pu$�le

2010-07-17 Thread strtr
== Quote from Jonathan M Davis (jmdavisp...@gmail.com)'s article > On Saturday 17 July 2010 18:59:18 strtr wrote: > > That is [dollar sign, euro sign] > > > > The reason I post it is because I expected the stash to be 3 lower. > Well, if I replace writef with write, I get > I made $€8. > If I leave