[Issue 5091] main runs after unittests

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5091 --- Comment #5 from Peter Alexander peter.alexander...@gmail.com 2010-10-22 00:43:56 PDT --- (In reply to comment #4) I have not once wanted to run both the full application and the unittests at the same time. when I want to run the

[Issue 5086] Regression(1.061): Stack overflow with recursive alias declaration

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5086 Don clugd...@yahoo.com.au changed: What|Removed |Added Summary|Regression(1.062): Stack|Regression(1.061): Stack

[Issue 1023] Struct implementing interfaces and struct member enumeration

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1023 Austin Hastings ah0801...@yahoo.com changed: What|Removed |Added CC|

[Issue 5099] New: Add enum size property

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5099 Summary: Add enum size property Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: DMD

[Issue 5099] Add enum size property

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5099 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 5097] Safer unions with @tagged

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5097 --- Comment #4 from bearophile_h...@eml.cc 2010-10-22 04:43:19 PDT --- (In reply to comment #2) Thank you for your comments. Anyone could define a private tag that doesn't vanish in release mode. In a union with @tagged the attributes

[Issue 5077] std.algorithm.schwartzSort is slow

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5077 --- Comment #3 from bearophile_h...@eml.cc 2010-10-22 04:52:28 PDT --- (In reply to comment #2) Thank you for your answers. This is a misunderstanding of Schwartz sort is supposed to do. D's equivalent of Python's key argument is not

[Issue 5077] std.algorithm.schwartzSort is slow

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5077 --- Comment #4 from bearophile_h...@eml.cc 2010-10-22 04:55:33 PDT --- Sorry, I have forgotten a Python version of the code: from random import random, seed from operator import itemgetter SortType_none = 0 SortType_sort = 1

[Issue 5057] std.variant.Algebraic-aware GC

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5057 --- Comment #4 from nfx...@gmail.com 2010-10-22 05:12:09 PDT --- (In reply to comment #2) I don't see how a class may replace an union. Variant/Algebraic has to store its data somewhere. Currently it uses some horrible hack to store it inline

[Issue 5097] Safer unions with @tagged

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5097 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 5100] New: -O Degrades performance of loop statements

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5100 Summary: -O Degrades performance of loop statements Product: D Version: D1 D2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 5101] New: Poorly formed error against non-const template on const object

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5101 Summary: Poorly formed error against non-const template on const object Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords:

[Issue 5101] Poorly formed error against non-const template on const object

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5101 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 5097] Safer unions with @tagged

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5097 --- Comment #6 from bearophile_h...@eml.cc 2010-10-22 10:35:20 PDT --- Thank you Don and Andrei for all the answers, you are right. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this

[Issue 5102] New: D1 missing Function Templates with Auto Ref Parameters

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5102 Summary: D1 missing Function Templates with Auto Ref Parameters Product: D Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal

[Issue 4670] Error compiling enum with string value in debug (compiles in release)

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4670 Tomasz Sowiński tomeks...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2950] Switch for enum : string fails

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2950 Tomasz Sowiński tomeks...@gmail.com changed: What|Removed |Added CC|

[Issue 4234] Cannot create a std.socket.Socket from an fd

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4234 Pedro Rodrigues pdfrodrig...@gmail.com changed: What|Removed |Added CC|

[Issue 3020] No description is given why function may not be nothrow

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3020 --- Comment #3 from Don clugd...@yahoo.com.au 2010-10-22 17:16:07 PDT --- Created an attachment (id=790) patch against svn 724 This is a big patch, but it's very simple. When checking for the return type of functions, the info about whether it

[Issue 3020] No description is given why function may not be nothrow

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3020 --- Comment #4 from Don clugd...@yahoo.com.au 2010-10-22 17:23:09 PDT --- For the initial test case, the error messages are: test.d(17): Error: writefln is not nothrow test0.d(13): Error: function test0.test 'test' is nothrow yet may throw

[Issue 3925] Missed escaping reference of a local variable

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3925 --- Comment #4 from bearophile_h...@eml.cc 2010-10-22 19:26:06 PDT --- Here DMD 2.049 doesn't find the error, but it should: int* foo() { int x; int* p = x; return p; } void main() {} -- Configure issuemail:

[Issue 5103] New: Container Documentation missing syntax

2010-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5103 Summary: Container Documentation missing syntax Product: D Version: D2 Platform: All URL: http://digitalmars.com/d/2.0/phobos/std_container.html OS/Version: All Status: