Re: struct opCall error messages

2010-07-28 Thread Rory Mcguire
Jacob Carlborg wrote: > On 2010-07-26 14:27, Rory Mcguire wrote: >> Hi, >> >> I'm not sure this is in bugzilla, I tried finding something mentioning it >> but coudn't. >> >> Compiling the below code results in the dmd compiler printing: >> struct_bad_error.d(8): Error: 'this' is only defined in no

Re: struct opCall error messages

2010-07-27 Thread Jacob Carlborg
On 2010-07-26 14:27, Rory Mcguire wrote: Hi, I'm not sure this is in bugzilla, I tried finding something mentioning it but coudn't. Compiling the below code results in the dmd compiler printing: struct_bad_error.d(8): Error: 'this' is only defined in non-static member functions, not inner

struct opCall error messages

2010-07-26 Thread Rory Mcguire
Hi, I'm not sure this is in bugzilla, I tried finding something mentioning it but coudn't. Compiling the below code results in the dmd compiler printing: struct_bad_error.d(8): Error: 'this' is only defined in non-static member functions, not inner struct S { S opC