Skip to content

Polymorphism: Calls to supertype #3

Description

@kindlich

Currently, compiling the ParsedExpressionSuper will return a PartialTypeExpression of the super type.
Therefore the compiler will search for static members on the super type, which is incorrect.

Also, we will most likely need a separate expression for super type calls, since inside the Java Bytecode module we need to use another opcode instruction (invokeSpecial instead of invokeVirtual/interface to make sure that this specific implementation is called)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions