8000 Add a way to call overridden methods · Issue #190 · gemoc/ale-lang · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add a way to call overridden methods #190
Open
@echebbi

Description

@echebbi

Motivation

It is sometimes useful to call overridden methods, e.g.:

class Action {

    public void perform() {
       // perform
    }

}

class DelayedAction {

    @Override
    public void perform() {
        sleep(delay);
        super.perform();
    }

}

That's currently impossible in ALE.

Proposed Solution

Provide a super keyword similar to Java's one.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0