[Issue 4838] Cannot declare a delegate variable for const member functions

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4838 --- Comment #2 from klickverbot c...@klickverbot.at 2010-09-08 02:13:36 PDT --- Okay, bearophile, here you go: --- class A { void foo() const {} } void main() { A a = new A; pragma( msg, typeof( a.foo ) ); // Yields �void

[Issue 4838] Cannot declare a delegate variable for const member functions

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

[Issue 4838] Cannot declare a delegate variable for const member functions

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4838 --- Comment #4 from klickverbot c...@klickverbot.at 2010-09-08 02:41:01 PDT --- (In reply to comment #3) const void delegate() dg = a.foo; Would not that rather create a const(void delegate())? -- Configure issuemail:

[Issue 4840] std.conv.to!(float/double/real)(0) errors out

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4840 Nick Sabalausky cbkbbej...@mailinator.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4700] to!float(0) fails

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4700 Nick Sabalausky cbkbbej...@mailinator.com changed: What|Removed |Added CC|

[Issue 4826] Regression(2.041) cannot create associative array and compiler crash

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

[Issue 4841] New: An array()/map inlining problem

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4841 Summary: An array()/map inlining problem Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD

[Issue 4753] fail_compilation/fail116.d sends dmd into a loop, exhausting memory

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

[Issue 3979] Order-of-compilation and forward reference errors

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

[Issue 4838] Cannot declare a delegate variable for const member functions

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

[Issue 4838] Cannot declare a delegate variable for const member functions

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4838 --- Comment #6 from klickverbot c...@klickverbot.at 2010-09-08 06:26:46 PDT --- (In reply to comment #5) It appears that you can remove the const decorations at will. This is very not good. See also: bug 1983. -- Configure issuemail:

[Issue 4838] Cannot declare a delegate variable for const member functions

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4838 --- Comment #7 from Don clugd...@yahoo.com.au 2010-09-08 07:11:58 PDT --- General comment: You have to be careful with .stringof, it's not yet reliable (a difference in .stringof doesn't necessarily mean a difference in type). But .mangleof

[Issue 2740] Template Mixins do not work as advertised

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2740 David Simcha dsim...@yahoo.com changed: What|Removed |Added CC||dsim...@yahoo.com

[Issue 2740] Template Mixins do not work as advertised

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2740 --- Comment #3 from David Simcha dsim...@yahoo.com 2010-09-08 10:42:34 PDT --- Oh yeah, doesn't happen for abstract classes either. Looks like only the interface vtbl info is wrong. import std.stdio; abstract class IFooable { abstract bool

[Issue 4836] duplicated union initialization without a union

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4836 --- Comment #1 from Ivo Kasiuk i.kas...@gmx.de 2010-09-08 11:06:48 PDT --- Also, line 6 seems to have no influence, so the following still does not compile: class C { string s = null; mixin template M() { } mixin M!() m1; mixin

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

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4382 --- Comment #2 from bearophile_h...@eml.cc 2010-09-08 11:10:14 PDT --- Probably fixed here: http://www.dsource.org/projects/phobos/changeset/1968 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.Darticle_id=117082 --

[Issue 4842] New: Wrong code with template literals

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4842 Summary: Wrong code with template literals Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: wrong-code Severity: normal

[Issue 4298] Constant array translated to unnecessary array literal creation

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4298 David Simcha dsim...@yahoo.com changed: What|Removed |Added CC||r.sagita...@gmx.de

[Issue 4631] const array literal rebuilt on every usage

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4631 David Simcha dsim...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED