[Issue 8113] alias this and opDispatch() don't forward opCall

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8113 --- Comment #6 from Kenji Hara k.hara...@gmail.com 2012-05-17 23:04:02 PDT --- (In reply to comment #5) Thanks. Just wondering, why is the second one an 'enhancement'? Isn't opUnary just a member, which should also be opDispatch'ed? Today

[Issue 7810] ctRegex!`a|b` asserts at regex.d:1150

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7810 --- Comment #5 from Dmitry Olshansky dmitry.o...@gmail.com 2012-05-17 23:01:09 PDT --- (In reply to comment #4) Doesn't appear to require ctRegex to trigger. This produces the same assertion failure. import std.regex; auto r =

[Issue 8113] alias this and opDispatch() don't forward opCall

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8113 --- Comment #7 from wfunct...@hotmail.com 2012-05-18 00:42:50 PDT --- (In reply to comment #6) Today these forwarding doesn't work at all. lol I imagined that was the bug. I guess you could call it the lack of a feature too haha. --

std.conv.to throws exception when converting const string to int with -O optimisation switch

2012-05-18 Thread Pascal Buenzli
Hi, It seems code compiled by dmd with or without the optimisation switch -O behaves differently in this situation: /* * Compile with either * dmd main.d (won't throw exception) * or * dmd main.d -O (will throw exception) */

Re: [Issue 3363] std.stream.readf segfaults with immutable format strings

2012-05-18 Thread PlatisYialos
Indeed this issue is still open. I've resorted to doing the following, in order to make obvious (to a future reader of the code) the bug: int charsRead = fin.readf(cast(char []) %c\n, myChar); Maybe a unittest should be included in the appropriate place within stream.d?

[Issue 8114] New: Methods are delegates, not functions.

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 Summary: Methods are delegates, not functions. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component:

[Issue 8114] Methods are delegates, not functions.

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8114] Methods are delegates, not functions.

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 wfunct...@hotmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 8115] New: Templated default constructor not called

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8115 Summary: Templated default constructor not called Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component:

[Issue 8116] New: new Foo().bar() should work

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8116 Summary: new Foo().bar() should work Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD

[Issue 8117] New: Cannot initialize struct member without default constructor

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8117 Summary: Cannot initialize struct member without default constructor Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major

[Issue 8118] Impossible to initialize a member struct without default constructor or assigment

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8118 --- Comment #1 from wfunct...@hotmail.com 2012-05-18 17:05:45 PDT --- Possibly related: http://d.puremagic.com/issues/show_bug.cgi?id=8117 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 8117] Cannot initialize struct member without default constructor

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8117 --- Comment #1 from wfunct...@hotmail.com 2012-05-18 17:05:39 PDT --- Possibly related: http://d.puremagic.com/issues/show_bug.cgi?id=8118 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 8118] New: Impossible to initialize a member struct without default constructor or assigment

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8118 Summary: Impossible to initialize a member struct without default constructor or assigment Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 8104] UFCS on forward reference won't compile

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8104 John Belmonte j...@neggie.net changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 8071] ICE(glue.c): delegate passed to std.algorithm.map

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8071 kekeni...@yahoo.co.jp changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4481] ICE(glue.c, !vthis-csym) or compiles, depending on the import statements order

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4481 kekeni...@yahoo.co.jp changed: What|Removed |Added CC||kekeni...@yahoo.co.jp ---

[Issue 8114] Methods are delegates, not functions.

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

[Issue 8114] Methods are delegates, not functions.

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 wfunct...@hotmail.com changed: What|Removed |Added Severity|critical|normal -- Configure

[Issue 8114] Methods are delegates, not functions.

2012-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8114 --- Comment #4 from wfunct...@hotmail.com 2012-05-18 20:57:40 PDT --- I put it as critical since it seemed looked like a bug in DMD (I'd never seen it before and it didn't make sense), but when people said it was intentional I forgot to change