[Issue 2237] string mixin + const array = array literal constructed upon every use (??!?!)

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2237 Denis verylonglogin@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 3960] Unused local variables not reported

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3960 --- Comment #19 from Marco Leise marco.le...@gmx.de 2012-02-09 01:15:45 PST --- (In reply to comment #18) Whether or not a parameter is used is unrelated to whether or not it has a name. You can't use an unnamed parameter, or can you? What

[Issue 3960] Unused local variables not reported

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3960 --- Comment #20 from Stewart Gordon s...@iname.com 2012-02-09 03:09:09 PST --- (In reply to comment #19) Now the interface is happy, as is the compiler check, because we made it clear, that we intended to ignore 'b'. Indeed. Some C++

[Issue 3960] Unused local variables not reported

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3960 --- Comment #21 from Marco Leise marco.le...@gmx.de 2012-02-09 03:48:32 PST --- You are right. Since local variables and parameters are related, it could be that the person fixing this also thinks about the situation for function parameters. A

[Issue 7469] template mangling depends on instantiation order

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7469 --- Comment #1 from d...@dawgfoto.de 2012-02-09 04:36:14 PST --- cat bug.d EOF struct S128(T, int k=1) { } version (A) { alias S128!(int) fooa; alias S128!(int, 1) foob; } else { alias S128!(int, 1) fooa; alias S128!(int)

[Issue 7444] Require [] for array copies too

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7444 --- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-02-09 05:33:52 PST --- (In reply to comment #1) While I agree that the syntax should be enforced more strictly in general, I still completely disagree with requiring [] on static array

[Issue 4088] opEquals not called on interfaces

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4088 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Resolution|INVALID |FIXED ---

[Issue 7444] Require [] for array copies too

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7444 --- Comment #3 from Kenji Hara k.hara...@gmail.com 2012-02-09 06:31:34 PST --- I'd like to provide an exhaustive test that should compile after fixing the enhancement suggested by me and timon. // X: Changed accepts-invalid to

[Issue 7444] Require [] for array copies too

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7444 --- Comment #4 from timon.g...@gmx.ch 2012-02-09 07:01:17 PST --- Maybe sa[] = da and da[] = da should be '// X' too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 2237] string mixin + const array = array literal constructed upon every use (??!?!)

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2237 --- Comment #3 from yebblies yebbl...@gmail.com 2012-02-10 02:05:57 EST --- Hmm, I think I must have put the wrong bug number in. I think this is a duplicate of the D1 version of bug 2414. Now if only I could find the actual bug... (I can

[Issue 7470] opEquals for interfaces

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7470 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 5590] Regression(2.036) ICE(e2ir.c): when using .values on enum which is associative array

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5590 Don clugd...@yahoo.com.au changed: What|Removed |Added Summary|ICE(e2ir.c): when using |Regression(2.036)

[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269 --- Comment #16 from Don clugd...@yahoo.com.au 2012-02-09 07:55:58 PST --- Even with the new patch, this example from comment 5 : static if(is(typeof(X3.init))) {} void X3(T3) { } is an ICE(glue.c) for 2.047 on. It generated an error on 2.045

[Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4269 --- Comment #17 from yebblies yebbl...@gmail.com 2012-02-10 03:08:33 EST --- (In reply to comment #16) Even with the new patch, this example from comment 5 : static if(is(typeof(X3.init))) {} void X3(T3) { } is an ICE(glue.c) for 2.047

[Issue 5590] Regression(2.036) ICE(e2ir.c): when using .values on enum which is associative array

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5590 --- Comment #9 from yebblies yebbl...@gmail.com 2012-02-10 03:20:09 EST --- For anyone interested in why this bug exists: When the 'aa' of 'aa.values' reaches e2ir, it is an 'ArrayLiteralExp' but is typed as the 'AssociativeArray' struct,

[Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if`

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7363 --- Comment #4 from github-bugzi...@puremagic.com 2012-02-09 08:35:01 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 3960] Unused local variables not reported

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3960 --- Comment #22 from Jonathan M Davis jmdavisp...@gmx.com 2012-02-09 08:42:51 PST --- I know that Walter is against having warnings or errors for unused parameters (he has _definitely_ said as much on the newsgroup), but he may feel

[Issue 7471] New: Improve performance of std.regex

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7471 Summary: Improve performance of std.regex Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component:

[Issue 7407] Can't implicitly convert char[][] to const(char)[][]

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7407 timon.g...@gmx.ch changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 7407] Can't implicitly convert char[][] to const(char)[][]

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7407 timon.g...@gmx.ch changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 7472] New: __traits compiles/ is(typeof) don't work for invalid type casts.

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7472 Summary: __traits compiles/ is(typeof) don't work for invalid type casts. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 7473] New: [CTFE] Non-ref argument behaves as if it's a ref argument

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7473 Summary: [CTFE] Non-ref argument behaves as if it's a ref argument Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal

[Issue 7474] New: ICE cgcs.c 354 on instanciating a struct with field and destructor as tuple

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7474 Summary: ICE cgcs.c 354 on instanciating a struct with field and destructor as tuple Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 7475] New: Regression(2.058 beta): Template member erroneously inaccessible

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7475 Summary: Regression(2.058 beta): Template member erroneously inaccessible Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords:

[Issue 7476] New: Write(ln) functions no longer accept retro range

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7476 Summary: Write(ln) functions no longer accept retro range Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2

[Issue 7477] New: Enum structs without specified values

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7477 Summary: Enum structs without specified values Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 4531] [2.046] No constructors with variable type list

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4531 kenn...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 435] Constructors should be templatized

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=435 kenn...@gmail.com changed: What|Removed |Added CC||joshuareu...@web.de --- Comment #7

[Issue 6699] More cases of __error in error messages

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6699 Don clugd...@yahoo.com.au changed: What|Removed |Added AssignedTo|nob...@puremagic.com|clugd...@yahoo.com.au ---

[Issue 7477] Enum structs without specified values

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

[Issue 6221] Should be possible to pass struct function returns by 'const ref'.

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

[Issue 435] Constructors should be templatized

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=435 kenn...@gmail.com changed: What|Removed |Added Keywords||pull CC|

[Issue 5541] Disallow escaping of references to stack-allocated memory

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5541 timon.g...@gmx.ch changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 7478] New: dmd crashes while compiling

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7478 Summary: dmd crashes while compiling Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 7472] __traits compiles/ is(typeof) don't work for invalid type casts.

2012-02-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7472 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||accepts-invalid