Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run inherited @main method #187

Open
echebbi opened this issue Jul 8, 2020 · 0 comments
Open

Cannot run inherited @main method #187

echebbi opened this issue Jul 8, 2020 · 0 comments
Assignees
Labels

Comments

@echebbi
Copy link
Collaborator

echebbi commented Jul 8, 2020

Bug description

Given a class Child extending a class Parent defined as follows:

open class Parent {

    @main
    def void main() {}

}

Given an XMI model containing a Child instance, the dialog triggered by Run As > ALE Application informs that no @main method is available for Child and the ALE interpreter is not run.

Expected behavior

The run delegate detects that Parent::main can be called on a Child instance.

Additional context

@echebbi echebbi added the bug label Jul 8, 2020
@echebbi echebbi self-assigned this Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant