Skip to content

Polymorphism: Calls to supertype #3

Open

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

  1. self-assigned this
    on Feb 16, 2021
  2. added this to the Refactor milestone on Jun 2, 2024
  3. kindlich commented on Jun 2, 2024

    @kindlich
    MemberAuthor

    We'll check if this was already addressed in the refactor or not.
    If not, we'll leave it open and push this after the refactor, if already fixed or fixable without too much effort, we'll close this during the refactor.

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