[Issue 3715] std.string.format can't use const/immutable toString functions

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3715 --- Comment #4 from Steven Schveighoffer schvei...@yahoo.com 2010-09-20 04:36:35 PDT --- Well, first of all, toString should always be const. But pure and nothrow are two options that are also valid. I think some real thought needs to go

[Issue 3420] Allow string import of files using subdirectories

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3420 Don clugd...@yahoo.com.au changed: What|Removed |Added Summary|[PATCH] Allow string import |Allow string import of

[Issue 4382] Same syntax to access items of Proxy and Tuple and more

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4382 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 3554] Ddoc generats invalid output for documentation comments with non paired paranthasis

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3554 --- Comment #8 from bearophile_h...@eml.cc 2010-09-20 05:03:38 PDT --- This bug doesn't seem fixed in dmd 2.049. This program: /// Return a random number in [0, 10 $(LPAREN) void foo() {} void main() {} Generates an html that doesn't show

[Issue 4900] New: compiler still slow due to a single function

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4900 Summary: compiler still slow due to a single function Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 4721] compilation slow when compiling unittests on dcollections

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4721 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 4901] New: std.algorithm.sort does not compile for interfaces that cannot be printed.

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4901 Summary: std.algorithm.sort does not compile for interfaces that cannot be printed. Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW

[Issue 4290] 'Fragile' opCmp/toHash signature errors

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4290 --- Comment #6 from Steven Schveighoffer schvei...@yahoo.com 2010-09-20 06:03:43 PDT --- (In reply to comment #5) Why should the D compiler refuse to compile them? The D compiler has to disallow or warn against common traps. But opCmp is

[Issue 3554] Ddoc generats invalid output for documentation comments with non paired paranthasis

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3554 --- Comment #9 from Johannes Pfau johannesp...@gmail.com 2010-09-20 07:28:22 PDT --- Yeah, I also brought this up on the dmd-internals mailing list recently. The problem is that the patch replaces the parenthesis with LPAREN and RPAREN macros.

[Issue 4899] Ddoc's warnings about stray parens should include file and line numbers

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4899 Johannes Pfau johannesp...@gmail.com changed: What|Removed |Added CC|

[Issue 4892] Regression(1.062, D1 only) Stack overflow when compiling a recursive alias declaration

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4892 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||ice-on-invalid-code

[Issue 4871] compiler crash: dmd: mtype.c:875: void Type::check(): Assertion `tn-mod 4 || tn-mod 1' failed.

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4871 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||ice-on-valid-code

[Issue 4712] Issue of destructor for temporary instance of structs

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4712 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||wrong-code

[Issue 4714] Cannot return ref this when struct has invariant

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

[Issue 3273] Regression(2.031): struct invariant + dtor fails to compile (no line number)

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3273 --- Comment #6 from Don clugd...@yahoo.com.au 2010-09-20 08:34:31 PDT --- Have just discovered bug 4714, which still fails with this patch. I think this patch is wrong. -- Configure issuemail:

[Issue 4632] Copy constructor not invoked on array reallocation

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4632 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||wrong-code

[Issue 4641] Associative arrays of structs with alias this broken.

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4641 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||wrong-code

[Issue 4613] temporary generated inside foreach is not correctly destructed

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4613 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||wrong-code

[Issue 4696] function pointers to std.math functions cause linking errors

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

[Issue 4541] Intrinsic functions do not have pointers

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4541 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||necrom...@gmail.com ---

[Issue 4524] Bus error with nested struct

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4524 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||wrong-code

[Issue 4583] PIC code not working: EBX register set incorrectly

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4583 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||wrong-code

[Issue 4470] Problems with std.bigint mod and divide

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

[Issue 3516] Destructor not called on temporaries

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3516 a...@aligature.com changed: What|Removed |Added CC||a...@aligature.com --- Comment #8

[Issue 3554] Ddoc generats invalid output for documentation comments with non paired paranthasis

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3554 --- Comment #10 from bearophile_h...@eml.cc 2010-09-20 12:45:52 PDT --- I may open a different bug report that asks for LPAREN and RPAREN macros to be defined in dmd, to be sure this problem doesn't get lost. -- Configure issuemail:

[Issue 3554] Ddoc generats invalid output for documentation comments with non paired paranthasis

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3554 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 3554] Ddoc generats invalid output for documentation comments with non paired paranthasis

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3554 --- Comment #12 from bearophile_h...@eml.cc 2010-09-20 16:35:12 PDT --- (In reply to comment #11) They _are_ defined. They're $(LPAREN) and $(RPAREN). Then where is the bug? Because there is a problem still. -- Configure issuemail:

[Issue 3554] Ddoc generats invalid output for documentation comments with non paired paranthasis

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3554 --- Comment #13 from Jonathan M Davis jmdavisp...@gmx.com 2010-09-20 16:45:48 PDT --- Sorry, I didn't read the bug report all the way through. A new warning relating to unmatched parens in ddoc popped up with 2.049, and it specifically

[Issue 4290] 'Fragile' opCmp/toHash signature errors

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4290 --- Comment #7 from bearophile_h...@eml.cc 2010-09-20 16:46:25 PDT --- It seems we are in irreducible disagreement here. But opCmp is a valid function! I can still call it, even though it's not put into the typeinfo. Of course. But when it

[Issue 4407] Catch wrong argument-attribute assignments in methods

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 --- Comment #1 from bearophile_h...@eml.cc 2010-09-20 17:32:46 PDT --- To keep the language semantics more uniform (instead of special-casing just in methods), all redundant assignments may be flagged as errors: void main() { int x; x

[Issue 4375] Require explicit braces when 'else' is ambiguous

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4375 --- Comment #4 from bearophile_h...@eml.cc 2010-09-20 17:41:37 PDT --- It seems that not just GCC flags this a possible error, in the Java audit rules in some Google Software this problem is named Dangling Else:

[Issue 4407] Catch wrong argument-attribute assignments in methods

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4407 --- Comment #2 from bearophile_h...@eml.cc 2010-09-20 17:47:19 PDT --- It's present among the Semantic Errors of Java code in the Google Web Toolkit too:

[Issue 4902] No label and variable with the same name error

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4902 --- Comment #1 from bearophile_h...@eml.cc 2010-09-20 18:01:57 PDT --- So far in my code I have never had a bug caused by this, so I consider this low-priority. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 4902] New: No label and variable with the same name error

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4902 Summary: No label and variable with the same name error Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severity: enhancement Priority: P2

[Issue 4375] Require explicit braces when 'else' is ambiguous

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4375 --- Comment #5 from Jonathan M Davis jmdavisp...@gmx.com 2010-09-20 18:26:31 PDT --- The dangling else problem is essentially the official name of the problem of knowing which if to put the last else with if you have a series of if statements

[Issue 3847] To avoid a C code bug

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3847 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 3847] To avoid a C code bug

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3847 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Resolution|FIXED |WONTFIX ---

[Issue 4903] New: opopAssignRight is needed for operator overloading

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4903 Summary: opopAssignRight is needed for operator overloading Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority:

[Issue 4290] 'Fragile' opCmp/toHash signature errors

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4290 --- Comment #8 from Kevin Bealer kevinbea...@gmail.com 2010-09-20 20:04:28 PDT --- I think when you are defining opCmp, it's a bit like overriding a function signature, therefore, if D tries to prevent function hijacking, it makes perfect

[Issue 4898] Can't see parent function's variables from nested functions when debugging

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4898 Aldo Nunez aldonun...@gmail.com changed: What|Removed |Added Severity|normal |enhancement ---

[Issue 4446] Templated function result can't be ref if tiargs are infered w/ value tiarg

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4446 Shin Fujishiro rsi...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3175] rejects templated ref return function

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3175 Shin Fujishiro rsi...@gmail.com changed: What|Removed |Added CC||rsi...@gmail.com ---

[Issue 3847] To avoid a C code bug

2010-09-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3847 --- Comment #15 from BCS shro8...@vandals.uidaho.edu 2010-09-20 22:15:25 PDT --- (In reply to comment #11) more readable and less bug-prone operators. Franky I find the fact that and || are not keywords make them *More* readable and as a