[Issue 4840] New: 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 Summary: std.conv.to!(float/double/real)("0") errors out Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 3157] [patch] Pipes should be closed with pclose

2010-09-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3157 --- Comment #2 from Brad Roberts 2010-09-08 02:07:01 PDT --- Created an attachment (id=750) updated and slightly alternate implmentation This patch makes me a little ill.. abusing an exception to propagate more data because the File abstracti

[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 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 delegate() const� void de

[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 changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #3 from Don 2

[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 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: http://d.puremagic.com/issues/userprefs

[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 changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 4700] to!float("0") fails

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

[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 changed: What|Removed |Added Keywords||patch Summary|"cannot create associati

[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 changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[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 changed: What|Removed |Added Status|RESOLVED|REOPENED Depends on|

[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 changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment

[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 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: http://d.puremagic

[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 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 never lies. The conclusio

[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 changed: What|Removed |Added CC||dsim...@yahoo.com Severity|nor

[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 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 foo(); } mixin t

[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 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 template M(T) { } } On

[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.D&article_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 Pr

[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 changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #5 from

[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 changed: What|Removed |Added Status|NEW |RESOLVED CC|