[Issue 2524] final override inconsistent when implementing interfaces

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2524 --- Comment #12 from s...@iname.com 2009-01-21 05:47 --- (In reply to comment #10) But I can still cast to the interface. Protection attributes are compile-time entities, they are not flagged at runtime: SoundManager s; Object

[Issue 2524] final override inconsistent when implementing interfaces

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2524 --- Comment #13 from schvei...@yahoo.com 2009-01-21 07:08 --- (In reply to comment #12) (In reply to comment #10) But I can still cast to the interface. Protection attributes are compile-time entities, they are not flagged

[Issue 2524] final override inconsistent when implementing interfaces

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2524 --- Comment #14 from s...@iname.com 2009-01-21 07:53 --- (In reply to comment #13) But the compiler is capable of checking to see whether the inheritance is public or private. It just doesn't at the moment. No runtime protection

[Issue 2597] auto return doesn't work for a variety of cases

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2597 --- Comment #1 from jarrett.billings...@gmail.com 2009-01-21 08:02 --- (In reply to comment #0) auto d(T)(T x) { return 5; } auto e(int x) { return 5; } d works, e doesn't. Should it? Of course it should. Why does this work:

[Issue 2596] Variadic constructors don't compile

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2596 --- Comment #2 from and...@metalanguage.com 2009-01-21 09:13 --- (In reply to comment #1) S s = S(); What should be called - a default ctor or S.this() with empty tuple? Good question. Today that must be the default ctor

[Issue 2601] New: Extraneous cast introduced in member access

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2601 Summary: Extraneous cast introduced in member access Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 2602] New: std.bind doesnt work

2009-01-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2602 Summary: std.bind doesnt work Product: D Version: 2.023 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD