Skip to content

Cannot run inherited @main method #187

@echebbi

Description

@echebbi

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions