[Issue 8430] [2.060 beta] Default arguments ignored for delegates/function pointers

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

[Issue 8430] [2.060 beta] Default arguments ignored for delegates/function pointers

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8430 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3866] anonymous delegate with default parameters cross-talks to another anonymous delegate

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3866 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 8431] New: [Optimizer] Merge equivalent jump tables for switch statements

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8431 Summary: [Optimizer] Merge equivalent jump tables for switch statements Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 5939] Cannot copy std.algorithm.map

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

[Issue 5939] Cannot copy std.algorithm.map

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5939 --- Comment #15 from Jonathan M Davis jmdavisp...@gmx.com 2012-07-25 01:31:21 PDT --- Well, if it can't be done, I think that it calls into question the whole idea of Voldemort types. In principle, they're really cool, but we keep running into

[Issue 5939] Cannot copy std.algorithm.map

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5939 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 8431] [Optimizer] Merge equivalent jump tables for switch statements

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8431 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 8431] [Optimizer] Merge equivalent jump tables for switch statements

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8431 --- Comment #2 from Dmitry Olshansky dmitry.o...@gmail.com 2012-07-25 01:50:03 PDT --- (In reply to comment #1) No need for final switch? Why would it? Final allows @system code to omit bounds check that's all. The presence of this

[Issue 5939] Cannot copy std.algorithm.map

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5939 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added CC|

[Issue 8400] static array type cannot interpret dynamic array length

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8400 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 8432] New: write needs to print full enum type

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8432 Summary: write needs to print full enum type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 8433] New: Compiler could warn on duplicate static if checks which can't branch

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8433 Summary: Compiler could warn on duplicate static if checks which can't branch Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 8432] write needs to print full enum type

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8432 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 8400] static array type cannot interpret dynamic array length

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8400 bearophile_h...@eml.cc changed: What|Removed |Added Severity|normal |regression --- Comment #5

[Issue 8312] Too many error messages with a writeln of fixed size array

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8312 --- Comment #4 from bearophile_h...@eml.cc 2012-07-25 07:24:39 PDT --- With this program: import std.stdio; void main() { uint n = 1; uint[n + 1] foo; writeln(foo); } DMD 2.060beta prints: temp.d(4): Error: variable n cannot be

[Issue 8434] New: [2.060 beta] cannot implicitly convert expression (vs1.opCast()) of type const(Vector2D) to object.Object

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8434 Summary: [2.060 beta] cannot implicitly convert expression (vs1.opCast()) of type const(Vector2D) to object.Object Product: D Version: D2 Platform: x86_64

[Issue 8435] New: BigInts don't work well in associative arrays

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8435 Summary: BigInts don't work well in associative arrays Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: wrong-code Severity: normal

[Issue 8436] New: ICE: Internal error: toir.c 178

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8436 Summary: ICE: Internal error: toir.c 178 Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 8312] Too many error messages with a writeln of fixed size array

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8312 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2012-07-25 08:02:42 PDT --- (In reply to comment #4) Probably the errors of the second program too are improved: import std.stdio: writeln; void main() { immutable int[] A = [1];

[Issue 8191] cstream.printf is completely unusable on x86_64

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8191 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8312] Too many error messages with a writeln of fixed size array

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8312 --- Comment #6 from bearophile_h...@eml.cc 2012-07-25 08:27:31 PDT --- (In reply to comment #5) No, this is expected behavior. With the declaration `int[A.lehgth] B;`, A.length is interpreted to integer constant expression 1, then the type

[Issue 8312] Too many error messages with a writeln of fixed size array

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8312 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8400] static array type cannot interpret dynamic array length

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8400 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8434] [2.060 beta] cannot implicitly convert expression (vs1.opCast()) of type const(Vector2D) to object.Object

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

[Issue 8437] New: [0.60 beta] static struct no size yet for forward reference

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8437 Summary: [0.60 beta] static struct no size yet for forward reference Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 8438] New: [0.60 beta] delegate default arguments

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8438 Summary: [0.60 beta] delegate default arguments Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2

[Issue 8433] Compiler could warn on static if checks which can't branch

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8433 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 8433] Compiler could warn on static if checks which can't branch

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8433 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-07-25 11:12:27 PDT --- I'd like to just keep this in Bugzilla for the time being. I know it's problematic and might even slow down compilation considerably, so maybe it's best

[Issue 8439] New: typeid fail to resolve symbol properly

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8439 Summary: typeid fail to resolve symbol properly Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 3866] anonymous delegate with default parameters cross-talks to another anonymous delegate

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3866 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 8438] [0.60 beta] delegate default arguments

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8438 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8436] ICE: Internal error: toir.c 178

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8436 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 8436] ICE: Internal error: toir.c 178

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8436 --- Comment #2 from deadalnix deadal...@gmail.com 2012-07-25 11:51:09 PDT --- (In reply to comment #1) It's related to failing to detect that one is calling a nested function from a context where the context pointer to that nested function

[Issue 8432] write needs to print full enum type

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8432 --- Comment #3 from bearophile_h...@eml.cc 2012-07-25 11:54:03 PDT --- (In reply to comment #2) enum Type { Class, Struct, Enum } struct Class { } struct Struct { } struct Enum { } void main() { Type[string] type = [foo :

[Issue 8436] ICE: Internal error: toir.c 178

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8436 --- Comment #3 from Walter Bright bugzi...@digitalmars.com 2012-07-25 13:02:54 PDT --- Knowing that it is related to the template version is helpful. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 8440] New: templated functions + template mixins give conflict

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8440 Summary: templated functions + template mixins give conflict Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 3449] const and invariant struct members do not behave according to spec

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 David Piepgrass qwertie...@gmail.com changed: What|Removed |Added CC|

[Issue 8441] New: function expected, not my function

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8441 Summary: function expected, not my function Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 8442] New: [2.060 beta] Empty array enum not treated as immutable

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8442 Summary: [2.060 beta] Empty array enum not treated as immutable Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Keywords: rejects-valid

[Issue 3449] const and invariant struct members do not behave according to spec

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #15 from Stewart Gordon s...@iname.com 2012-07-25 14:55:34 PDT --- (In reply to comment #14) +1 from me. Implicit static and (worse) implicit enum are bad ideas, and the worst part is that whether it's static or not depends on

[Issue 8443] New: [2.060 beta] Win32 linker bug with separate compilation

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8443 Summary: [2.060 beta] Win32 linker bug with separate compilation Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 8443] [2.060 beta] Win32 linker bug with separate compilation

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8443 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 8443] [2.060 beta] Win32 linker bug with separate compilation

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8443 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-07-25 16:30:26 PDT --- (In reply to comment #1) What happens with this same code on linux or osx? It can't be compiled on those, WindowsAPI is the Win32 bindings library.

[Issue 8444] New: Cannot use dot to disambiguate between local method and class declaration

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8444 Summary: Cannot use dot to disambiguate between local method and class declaration Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8444] Cannot use dot to disambiguate between local method and class declaration

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

[Issue 8444] Cannot use dot to disambiguate between local method and class declaration

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8444 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-07-25 17:35:20 PDT --- (In reply to comment #1) Did it work in 2.059? Or is that what you're using? Even if it's minor, if it worked in 2.059 and doesn't work in 2.0560, it

[Issue 3449] const and invariant struct members do not behave according to spec

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #16 from David Piepgrass qwertie...@gmail.com 2012-07-25 18:55:01 PDT --- How would the programmer suppress this warning because it's deliberate? When I wrote that, I was thinking that the developer can initialize in the

[Issue 5206] stat_t is not the same as struct stat

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5206 --- Comment #11 from github-bugzi...@puremagic.com 2012-07-25 20:46:01 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/druntime

[Issue 5206] stat_t is not the same as struct stat

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5206 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #12