Skip to content

PLUSPLUS not working with Property #131

@huynhphuchuy

Description

@huynhphuchuy

Hi @kaidesu , could you take a look at this? thanks thanks!

Currently, ++ is not working with Property

class Test {
    function constructor(score = 10) {
        this.score = score
    }
    function add() {
        this.score++
    }
    function show() {
        print(this.score)
    }
}

test = Test.new()
test.add()
test.add()
test.add()
test.show()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions