Re: Expected behavior?

2011-07-05 Thread Jacob Carlborg
On 2011-07-05 22:58, jdrewsen wrote: Den 05-07-2011 13:21, Jacob Carlborg skrev: On 2011-07-05 09:51, Jonas Drewsen wrote: Found a matching bug report. http://d.puremagic.com/issues/show_bug.cgi?id=2458 Doesn't seem to have caught any attention so it seems I have to hack around it :( /Jonas

Re: Expected behavior?

2011-07-05 Thread jdrewsen
Den 05-07-2011 13:21, Jacob Carlborg skrev: On 2011-07-05 09:51, Jonas Drewsen wrote: Found a matching bug report. http://d.puremagic.com/issues/show_bug.cgi?id=2458 Doesn't seem to have caught any attention so it seems I have to hack around it :( /Jonas Just declare the struct outside of t

Re: Expected behavior?

2011-07-05 Thread Jacob Carlborg
On 2011-07-05 09:51, Jonas Drewsen wrote: Found a matching bug report. http://d.puremagic.com/issues/show_bug.cgi?id=2458 Doesn't seem to have caught any attention so it seems I have to hack around it :( /Jonas Just declare the struct outside of the function? -- /Jacob Carlborg

Re: Expected behavior?

2011-07-05 Thread Jonas Drewsen
Found a matching bug report. http://d.puremagic.com/issues/show_bug.cgi?id=2458 Doesn't seem to have caught any attention so it seems I have to hack around it :( /Jonas On 04/07/11 23.40, David Nadlinger wrote: I am not sure if this is actually a »known« issue as in »it's on Bugzilla«, but

Re: Expected behavior?

2011-07-04 Thread David Nadlinger
I am not sure if this is actually a »known« issue as in »it's on Bugzilla«, but it also happens with unittest blocks. I was just about to start tracking this issue down in a big pile of CTFE-heavy code (https://github.com/klickverbot/thrift/blob/d-gsoc/lib/d/src/thrift/codegen.d#L416) – thanks

Expected behavior?

2011-07-04 Thread jdrewsen
I was just about to send the curl wrapper I've been working on for RFC and did a git pull from upstream to be in sync. After that I got a new error that may be a dmd bug. The following is some minimal code that triggers the error. private mixin template A() { void foo() {} } void bar() {