On Monday, November 08, 2010 11:39:43 spir wrote:
> Hello,
>
> I don't understand why the compiler refuses the code below, with the error
> __trials__.d(33): found '.' when expecting ';' following statement
> (Note that method set returns this.)
>
> class C {
> int i,j;
> this (int i) {
>
spir napisał:
> Hello,
>
> I don't understand why the compiler refuses the code below, with the error
> __trials__.d(33): found '.' when expecting ';' following statement
> (Note that method set returns this.)
>
> class C {
> int i,j;
> this (int i) {
> this.i = i;
> }
>
On Mon, 08 Nov 2010 14:39:43 -0500, spir wrote:
Hello,
I don't understand why the compiler refuses the code below, with the
error
__trials__.d(33): found '.' when expecting ';' following statement
(Note that method set returns this.)
class C {
int i,j;
this (int i) {
this.i