January 29, 2004
This code:

struct A {
    char [] member;
    char [] property () { return member; }
    void property (char [] value) { member = value; }
}

int main() {
    A a;
    a.property = "hello ";
    a.property ~= "world!"; // here
}

produces: "Can only concatenate arrays".

-----------------------
Carlos Santander Bernal


January 29, 2004
Carlos Santander B. wrote:

[...]
>     a.property ~= "world!"; // here
> produces: "Can only concatenate arrays".

RTFM:
| Note: Properties currently cannot be the lvalue of an op=, ++, or
| -- operator.

So long.