[Issue 7722] Refuse normal functions to be used as properties

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7722 --- Comment #7 from github-bugzi...@puremagic.com 2012-03-27 23:06:42 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7766] (Full Closures) Chain of nested functions fails

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7766 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||wrong-code

[Issue 1841] Closure detection doesn't work when variable is used in a nested function

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1841 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||xi...@live.com --- Comment

[Issue 7750] while(true) loop with try/catch block causes segfault

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

[Issue 6660] Problem with core.cpuid on Windows7

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6660 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7788] __gshared and UFCS - Error: nested structs with constructors are not yet supported in CTFE (Bug 6419)

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7788 --- Comment #1 from simendsjo simend...@gmail.com 2012-03-28 00:44:40 PDT --- Oh, and the following works too: __gshared int[] ok3; ok3 = [1].map!(a*1)().array(); -- Configure issuemail:

[Issue 7788] New: __gshared and UFCS - Error: nested structs with constructors are not yet supported in CTFE (Bug 6419)

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7788 Summary: __gshared and UFCS - Error: nested structs with constructors are not yet supported in CTFE (Bug 6419) Product: D Version: D2 Platform: All OS/Version: Linux

Regex problem

2012-03-28 Thread James Blewitt
I am having a problem with regexes. The following code causes a compilation error, whereas if I comment out the regex outside of main and comment in the regex inside main, it does compile. I'm using DMD v2.058. code import std.regex; Regex!(char) testRegex = regex(\\b(A(Z)?|B(Z)?|C(Z)?)\\b,

Re: Regex problem

2012-03-28 Thread simendsjo
On Wed, 28 Mar 2012 11:25:40 +0200, James Blewitt j...@jblewitt.com wrote: I am having a problem with regexes. The following code causes a compilation error, whereas if I comment out the regex outside of main and comment in the regex inside main, it does compile. I'm using DMD v2.058.

Re: Regex problem

2012-03-28 Thread James Blewitt
Ok, I'll do that. Thanks

Re: Regex problem

2012-03-28 Thread James Blewitt
How can I put code into my posts without it looking bad?

Re: Regex problem

2012-03-28 Thread simendsjo
On Wed, 28 Mar 2012 11:30:40 +0200, James Blewitt j...@jblewitt.com wrote: How can I put code into my posts without it looking bad? Depends on your newsreader I guess. Using spaces instead of tabs and keeping linelengths below 80 usually makes the formatting ok.

[Issue 7788] __gshared and UFCS - Error: nested structs with constructors are not yet supported in CTFE (Bug 6419)

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

[Issue 7691] A pure std.math.floor

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7691 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 7782] [ICE] With wrong import syntax

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7782 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||pull CC|

[Issue 7691] A pure std.math.floor

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7691 --- Comment #2 from bearophile_h...@eml.cc 2012-03-28 10:03:17 PDT --- (In reply to comment #1) Most std.math functions need use asm; we need to write ctfe versions for them. But note that I'd like to use it mostly in run-time code. --

[Issue 7691] A pure std.math.floor

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7691 --- Comment #3 from hst...@quickfur.ath.cx 2012-03-28 10:05:51 PDT --- Does dmd even support pureness checking for asm blocks? If not, I'm not sure when we will be able to mark asm functions as pure. -- Configure issuemail:

[Issue 7691] A pure std.math.floor

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

[Issue 7789] New: [CTFE] null pointer exception on setting array length

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7789 Summary: [CTFE] null pointer exception on setting array length Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7722] Refuse normal functions to be used as properties

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

[Issue 7789] [CTFE] null pointer exception on setting array length

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7789 --- Comment #1 from github-bugzi...@puremagic.com 2012-03-28 16:15:56 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7789] [CTFE] null pointer exception on setting array length

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

[Issue 7782] [ICE] With wrong import syntax

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7782 --- Comment #2 from github-bugzi...@puremagic.com 2012-03-28 17:15:32 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7782] [ICE] With wrong import syntax

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

[Issue 7694] Internal error: e2ir.c 1251 when calling member function inside struct via alias param

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7694 --- Comment #5 from github-bugzi...@puremagic.com 2012-03-28 20:02:46 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 6659] Destructor in range foreach called after initialization

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6659 --- Comment #3 from github-bugzi...@puremagic.com 2012-03-28 21:42:31 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 7790] New: [CTFE] assignment to AA apply ref argument

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7790 Summary: [CTFE] assignment to AA apply ref argument Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7791] New: Unnecessarily slow test in the DMD test suite

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7791 Summary: Unnecessarily slow test in the DMD test suite Product: D Version: D1 D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 7792] New: DMD crushes when local enum array containing undefined

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7792 Summary: DMD crushes when local enum array containing undefined Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 6659] Destructor in range foreach called after initialization

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

[Issue 7694] Internal error: e2ir.c 1251 when calling member function inside struct via alias param

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

[Issue 7745] Regression (1.x git-415e48a) Methods defined in external object files when a pointer to it is taken

2012-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7745 --- Comment #4 from github-bugzi...@puremagic.com 2012-03-28 22:54:42 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd