LLJS icon indicating copy to clipboard operation
LLJS copied to clipboard

Cannot increment struct field in member function

Open evanw opened this issue 12 years ago • 0 comments

The compiler gives "cannot use . operator on pointer type"

struct Foo {
  int x;
  function foo() { this->x++; }
};

evanw avatar Apr 20 '13 03:04 evanw