[Issue 4672] [patch] rdmd fails when -I is needed

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4672 --- Comment #2 from Nick Sabalausky 2010-08-19 00:12:49 PDT --- Created an attachment (id=726) Same as above, but in diff form -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 4677] New: disallow GC via cmd line argument -nogc

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4677 Summary: disallow GC via cmd line argument -nogc Product: D Version: future Platform: Other OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 4652] Compiler hangs on template with zero-length tuple and another argument

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4652 --- Comment #5 from Don 2010-08-19 04:30:12 PDT --- That patch was incorrect, it failed to deal with default and variadic parameters. This new test case incorporates the test case from bug 4676 as well, which is also fixed by this patch. --- vo

[Issue 3934] Some untidy attributes

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3934 --- Comment #8 from bearophile_h...@eml.cc 2010-08-19 06:14:56 PDT --- >From bernardh on IRC, this program compiles: auto scope shared import std.stdio; void main() {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=em

[Issue 4678] New: Built struct is callable without opCall

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4678 Summary: Built struct is callable without opCall Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal

[Issue 4679] New: Problem with final & override

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4679 Summary: Problem with final & override Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 2195] Variable shadowing is not detected and reported

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2195 Stewart Gordon changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 47] Entity name shadowing: compiler not acting according to spec.

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=47 Stewart Gordon changed: What|Removed |Added CC||2kor...@gmail.com --- Comment #2 from S

[Issue 2195] Variable shadowing is not detected and reported

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2195 Stewart Gordon changed: What|Removed |Added Status|RESOLVED|REOPENED Version|1.00

[Issue 4680] New: Duplicated function/overload error message

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4680 Summary: Duplicated function/overload error message Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal

[Issue 2451] Adding structs that use opAssign or postblit to an AA is broken

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2451 --- Comment #8 from Don 2010-08-19 07:23:47 PDT --- Bug 3705 (Can't add structs with alias this to an AA) is probably related. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail b

[Issue 314] [module] Static, renamed, and selective imports are always public

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=314 --- Comment #27 from Don 2010-08-19 07:39:48 PDT --- (In reply to comment #24) > (In reply to comment #20) > > (In reply to comment #19) > > > Don, which version of the patch did you apply - the one attached here or > > > the > > > one I applie

[Issue 4677] disallow GC via cmd line argument -nogc

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4677 Leandro Lucarella changed: What|Removed |Added CC||llu...@gmail.com --- Comment #1 fr

[Issue 3934] Some untidy attributes

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3934 --- Comment #9 from bearophile_h...@eml.cc 2010-08-19 09:11:44 PDT --- This D2 program compiles and runs with DMD 2.048 with no errors, but I think the compiler has to flag this usage of the 'private final' attributes as incorrect: import std.

[Issue 4681] New: Strange access violation Mandelbug with AAs + Appender

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4681 Summary: Strange access violation Mandelbug with AAs + Appender Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: critical Priority:

[Issue 4681] Strange access violation Mandelbug with AAs + Appender

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4681 David Simcha changed: What|Removed |Added Priority|P2 |P1 Severity|critical

[Issue 4681] Strange access violation Mandelbug with AAs + Appender

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4681 kenn...@gmail.com changed: What|Removed |Added CC||kenn...@gmail.com --- Comment #2 fr

[Issue 4681] Strange access violation Mandelbug with AAs + Appender

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4681 --- Comment #3 from kenn...@gmail.com 2010-08-19 11:29:49 PDT --- A much shorter test case: import std.random, std.array; void main() { Appender!(int[])[3] aa; foreach(i; 0..1) aa[uniform(0, aa.lengt

[Issue 4681] Strange access violation Mandelbug with AAs + Appender

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4681 --- Comment #4 from David Simcha 2010-08-19 11:35:11 PDT --- It's definitely a bug in Appender, not a bug in the runtime or AAs. Replacing 2.048 Appender with 2.047 Appender in array.d and recompiling Phobos and my code makes this bug go away.

[Issue 4681] Strange access violation Mandelbug with AAs + Appender

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4681 --- Comment #5 from kenn...@gmail.com 2010-08-19 11:46:51 PDT --- Deterministic test case (always crash on my machine): import std.array,std.stdio; void main() { Appender!(uint[])[3] aa; auto x = [ 0,1,1,0,2,1,2,2,1,

[Issue 4536] Typetuples (T...) should have an .init member

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4536 --- Comment #1 from Philippe Sigaud 2010-08-19 22:35:10 CEST --- (In reply to comment #0) > template Init(T...) > { > alias (Tuple!T.init).expand Init; > } Hmm, my mistake, the previous version doesn't work. I'm pretty sure it used to, s

[Issue 4682] New: Run-time Vs Compile-time of int.min % -1

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4682 Summary: Run-time Vs Compile-time of int.min % -1 Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Compon

[Issue 4679] Problem with final & override

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4679 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmail.com --- Comment #

[Issue 4535] std.range could have a takeWhile!pred(range) function

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4535 --- Comment #3 from Philippe Sigaud 2010-08-20 00:46:32 CEST --- (In reply to comment #1) > Doesn't std.algorithm.until pretty much do what you want? Hmm. I see until() is templated on the predicate. I guess most of the time, I can rewrite my

[Issue 4683] New: [patch] rdmd: -od clobbers preceeding -of

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4683 Summary: [patch] rdmd: -od clobbers preceeding -of Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Com

[Issue 4603] array(iota(1, 0)) error

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4603 David Simcha changed: What|Removed |Added CC||dsim...@yahoo.com --- Comment #4 from D

[Issue 4684] New: [patch] rdmd: Assert failure on -od without trailing slash

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4684 Summary: [patch] rdmd: Assert failure on -od without trailing slash Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: norma

[Issue 4684] [patch] rdmd: Assert failure on -od without trailing slash

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4684 --- Comment #1 from Nick Sabalausky 2010-08-19 17:26:44 PDT --- Created an attachment (id=729) Unified patch against rdmd r1400 for #4672, #4683 and #4684 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 4672] [patch] rdmd fails when -I is needed

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4672 --- Comment #3 from Nick Sabalausky 2010-08-19 17:28:54 PDT --- Over here is a unified patch against rdmd r1400 for #4672, #4683 and #4684: http://d.puremagic.com/issues/show_bug.cgi?id=4684 -- Configure issuemail: http://d.puremagic.com/is

[Issue 4683] [patch] rdmd: -od clobbers preceeding -of

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4683 --- Comment #1 from Nick Sabalausky 2010-08-19 17:28:28 PDT --- Over here is a unified patch against rdmd r1400 for #4672, #4683 and #4684: http://d.puremagic.com/issues/show_bug.cgi?id=4684 -- Configure issuemail: http://d.puremagic.com/is

[Issue 4684] [patch] rdmd: Assert failure on -od without trailing slash

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4684 Nick Sabalausky changed: What|Removed |Added Attachment #728 is|0 |1 obsolete|

[Issue 4685] New: in contract of base class affected by the body of the overriding function

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4685 Summary: in contract of base class affected by the body of the overriding function Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW

[Issue 4603] array(iota(1, 0)) error

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4603 --- Comment #5 from bearophile_h...@eml.cc 2010-08-19 17:44:23 PDT --- Throwing? No, look at Python: >>> range(1, 0) [] It needs to return an empty range. This: foreach (i; iota(1, 0)) is the same as: foreach (i; 1 .. 0) Or: for (int i = 1; i

[Issue 4686] New: rdmd could use an incremental compilation option

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4686 Summary: rdmd could use an incremental compilation option Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2

[Issue 4603] array(iota(1, 0)) error

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4603 --- Comment #6 from bearophile_h...@eml.cc 2010-08-19 17:49:22 PDT --- And by the way, in Python This produces an empty string slice: >>> "abcdefg"[3:2] '' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 4683] [patch] rdmd: -od clobbers preceeding -of

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4683 --- Comment #2 from Nick Sabalausky 2010-08-19 17:47:22 PDT --- This would be especially needed if "#4686: rdmd could use an incremental compilation option" ( http://d.puremagic.com/issues/show_bug.cgi?id=4686 ) is implemented. -- Configure

[Issue 4603] array(iota(1, 0)) error

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4603 David Simcha changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 3868] It would be nice to have a function which read a file lazily using a range

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3868 David Simcha changed: What|Removed |Added CC||dsim...@yahoo.com --- Comment #1 from D

[Issue 4687] New: Strange error on simple main with response file from xfbuild

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4687 Summary: Strange error on simple main with response file from xfbuild Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: dia

[Issue 4687] Strange error on simple main with response file from xfbuild

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4687 --- Comment #1 from Nick Sabalausky 2010-08-19 20:01:20 PDT --- ticket over on xfbuild: http://bitbucket.org/h3r3tic/xfbuild/issue/20/strange-error-on-simple-main-when-using -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi

[Issue 3868] It would be nice to have a function which read a file lazily using a range

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3868 Andrei Alexandrescu changed: What|Removed |Added CC||and...@metalanguage.com --- Comm

[Issue 4684] [patch] rdmd: Assert failure on -od without trailing slash

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4684 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Issue 4355] random + take = fail

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4355 David Simcha changed: What|Removed |Added Status|NEW |RESOLVED CC|