mindcode icon indicating copy to clipboard operation
mindcode copied to clipboard

Properties cannot be invoked directly on function return values

Open cardillan opened this issue 1 year ago • 0 comments

The following code doesn't compile:

getlink(index).enabled = false

It is necessary to rewrite it to

device = getlink(index)
device.enabled = false

Supporting direct property access will require updating ANTLR syntax.

cardillan avatar Apr 28 '23 16:04 cardillan