Re: [Issue 2834] Struct Destructors are not called by the GC, but called on explicit delete.

2010-11-22 Thread Max Samukha
On 11/21/2010 08:20 PM, Sean Kelly wrote: d-bugm...@puremagic.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=2834 Max Samukhasamu...@voliacable.com changed: What|Removed |Added

[Issue 3681] ICE(go.c): when function takes too long to optimize, only with -O.

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3681 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch --- Comment #5 from

[Issue 4379] ICE(blockopt.c): foreach over huge tuple, only with -O

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4379 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch --- Comment #5 from

[Issue 4504] ICE(toir.c) using std.algorithm.count with recursive nested function and -inline.

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4504 --- Comment #5 from Don clugd...@yahoo.com.au 2010-11-22 02:02:04 PST --- Reduced test case, from the duplicate bug 4784. --- struct A( alias P ) { static void a() { void aa() { P(); } } } template B( alias P ) { void b()

[Issue 4784] ICE(toir.c) with count()

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4784 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4504] ICE(toir.c) using std.algorithm.count with recursive nested function passed by alias

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4504 Don clugd...@yahoo.com.au changed: What|Removed |Added Summary|ICE(toir.c) using |ICE(toir.c) using

[Issue 4504] ICE(toir.c) using std.algorithm.count with recursive nested function passed by alias

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4504 --- Comment #7 from Don clugd...@yahoo.com.au 2010-11-22 02:12:16 PST --- *** Issue 4784 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 5230] ICE(tocsym.c) overriding a method that has an out contract

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5230 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch --- Comment #2 from

[Issue 5253] Regression (2.050): in contracts are not allowed in overriden methods.

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5253 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5145] Regression(2.050, 1.065) override error with forward ref of superclass

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5145 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||bary...@smp.if.uj.edu.pl

[Issue 5251] Const C file

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5251 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5251] Const C file

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5251 --- Comment #2 from bearophile_h...@eml.cc 2010-11-22 09:34:42 PST --- (In reply to comment #1) Yes they do. fprintf and fclose deal with a memory-allocated buffer that will be used to optimize I/O throughput. If this bug report is invalid

[Issue 5240] Faster std.random.uniform() for [0.0, 1.0) range

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5240 --- Comment #4 from bearophile_h...@eml.cc 2010-11-22 09:44:33 PST --- (In reply to comment #3) I am probably missing something, but what is wrong with uniform!(0,1) ? Then you can add optimizations for all the special cases you want.

[Issue 5251] Const C file

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5251 --- Comment #3 from Steven Schveighoffer schvei...@yahoo.com 2010-11-22 10:11:55 PST --- const is transitive, so if you imagine a FILE having this structure: struct FILE { int fd; ubyte[] buffer; } Now, if FILE is const, then buffer is

[Issue 5251] Const C file

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5251 --- Comment #4 from bearophile_h...@eml.cc 2010-11-22 10:16:12 PST --- (In reply to comment #3) const is transitive, so if you imagine a FILE having this structure: struct FILE { int fd; ubyte[] buffer; } Now, if FILE is const,

[Issue 5251] Const C file

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5251 nfx...@gmail.com changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #5

[Issue 5257] New: std.algorithm.count works incorrectly with UTF8 and UTF16 strings

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5257 Summary: std.algorithm.count works incorrectly with UTF8 and UTF16 strings Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW

[Issue 5257] std.algorithm.count works incorrectly with UTF8 and UTF16 strings

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5257 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 3827] automatic joining of adjacent strings is bad

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3827 --- Comment #24 from bearophile_h...@eml.cc 2010-11-22 12:01:40 PST --- A recent note by Walter: Andrei's right. This is not about making it right-associative. It is about defining in the language that: ((a ~ b) ~ c) is guaranteed

[Issue 5240] Faster std.random.uniform() for [0.0, 1.0) range

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5240 --- Comment #6 from bearophile_h...@eml.cc 2010-11-22 12:05:44 PST --- (In reply to comment #5) I was commenting on the suggested name uniform01. Templating the function seemed obvious to me and I was also surprised you didn't suggest doing

[Issue 5257] std.algorithm.count works incorrectly with UTF8 and UTF16 strings

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5257 jakobov...@gmail.com changed: What|Removed |Added CC||jakobov...@gmail.com ---

[Issue 5258] New: [CTFE] Stack overflow with struct by ref

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5258 Summary: [CTFE] Stack overflow with struct by ref Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal

[Issue 5259] New: Download link from homepage points to older version

2010-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5259 Summary: Download link from homepage points to older version Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2