Re: Want to help DMD bugfixing? Write a simple utility.

2011-03-20 Thread Zirneklis
On 20/03/2011 19:55, Kai Meyer wrote: On 03/19/2011 06:11 PM, Don wrote: Here's the task: Given a .d source file, strip out all of the unittest {} blocks, including everything inside them. Strip out all comments as well. Print out the resulting file. Motivation: Bug reports frequently come

Re: How do I read data with ByChunk?

2011-03-18 Thread Zirneklis
On 18/03/2011 14:35, Craig Dillabaugh wrote: Hi, I have two binary files containing image data, and I want to go through them pixel by pixel and read the image data into arrays and compare the pixel values (images have the exact same dimensions but one is unsigned 1 byte per pixel, and the

Re: Templated nested function can't access 'this'

2011-03-17 Thread Zirneklis
A known bug http://d.puremagic.com/issues/show_bug.cgi?id=3159 Your just gonna have to make it a normal templated method -- Aku MoD.

Re: Iterating over an enum associative array

2011-03-14 Thread zirneklis
On 14/03/2011 14:38, Peter Lundgren wrote: == Quote from Nebster (evil.nebs...@gmail.com)'s article Hey, I'm having some problems iterating over an enumerated associative array. It comes up with this error at compile time: Internal error: e2ir.c 4835 I cut the code down to this: import