digitalmars.D - Re: Perhaps here is a critical bug of scope statement and scoped
- redsea (4/5) Dec 16 2008 your result is ok.
- davidl (3/9) Dec 16 2008 He told you that, he's tried with 1.037
- Jarrett Billingsley (4/9) Dec 17 2008 The "if(a == 0) return" lines are there. It doesn't matter whether I
Jarrett Billingsley Wrote:I just tried with DMD 1.037, and I get the correct output:your result is ok. And I download dmd 1.038, extrace the dmd, override the dmd1.033 in the tango-dmd, but I still got the wrong result. Are you ensure the version you run is the one "if (a==0) return " not commented ?
Dec 16 2008
在 Wed, 17 Dec 2008 13:20:38 +0800,redsea <redsea 163.com> 写道:Jarrett Billingsley Wrote:He told you that, he's tried with 1.037 You can try out 1.037 firstly, and confirm it.I just tried with DMD 1.037, and I get the correct output:your result is ok. And I download dmd 1.038, extrace the dmd, override the dmd1.033 in the tango-dmd, but I still got the wrong result. Are you ensure the version you run is the one "if (a==0) return " not commented ?
Dec 16 2008
On Wed, Dec 17, 2008 at 12:20 AM, redsea <redsea 163.com> wrote:Jarrett Billingsley Wrote:The "if(a == 0) return" lines are there. It doesn't matter whether I comment them or not, it still works correctly. Maybe it's a platform-specific issue? I'm on Windows.I just tried with DMD 1.037, and I get the correct output:your result is ok. And I download dmd 1.038, extrace the dmd, override the dmd1.033 in the tango-dmd, but I still got the wrong result. Are you ensure the version you run is the one "if (a==0) return " not commented ?
Dec 17 2008