Re: D2 phobos BigInt bug

2009-02-05 Thread dsimcha
== Quote from ZHOU Zhenyu (rin...@goozo.net)'s article > BigInt b = "10"; > foreach( i; 1..20 ){ > b*=10; > writeln(b*b); > } > system: Windows > CPU: Intel Core2 Duo T7250 2.00GHz > result: > 1 > 100 > 1 > 100 > 10

D2 phobos BigInt bug

2009-02-05 Thread ZHOU Zhenyu
BigInt b = "10"; foreach( i; 1..20 ){ b*=10; writeln(b*b); } system: Windows CPU: Intel Core2 Duo T7250 2.00GHz result: 1 100 1 100 1 100 81553255926290448384 100

[Issue 2643] -o- switch breaks semantic analysis

2009-02-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2643 --- Comment #4 from to...@famolsen.dk 2009-02-05 12:07 --- DMD actually does quite a bit of error handling during code generation. I've been hit by this several times in LDC, where it means that quite a lot of the time, you can't be s

[Issue 2646] Named mixins and member functions

2009-02-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2646 --- Comment #1 from samu...@voliacable.com 2009-02-05 12:05 --- Another try: template Signal() { void connect() {}; } class AbstractButton { mixin Signal clicked; } class CheckBox : AbstractButton { mixin Signal toggled; mi

[Issue 2646] New: Named mixins and member functions

2009-02-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2646 Summary: Named mixins and member functions Product: D Version: 1.039 Platform: PC OS/Version: Windows Status: NEW Severity: major Priority: P2 Component: D

[Issue 2643] -o- switch breaks semantic analysis

2009-02-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2643 --- Comment #3 from shro8...@vandals.uidaho.edu 2009-02-05 11:58 --- At some point I home that DMD will actual do more semantic stuff under -o- as then I can get DDoc output for generated code. However even then DMD should only do wha

Re: Russian and other national languages support

2009-02-05 Thread Kagamin
zorran Wrote: > in Delphi, C#, and many C++ compilers - All OK! > Why? > it can reduce popularity D! > Russian text not needs two-byte code-page! its not Chinese! In C# all strings are two-byte encoded (UTF-16), in C++ L"..." strings are (usually) two-byte encoded, Delphi is a legacy technology,

[Issue 2643] -o- switch breaks semantic analysis

2009-02-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2643 --- Comment #2 from ma...@pochta.ru 2009-02-05 04:16 --- > that's not a bug if you look at it a different way; -o- is to allow generating > ddoc output without having to run everything. not everything, just object file generation >