Skip to content

Compiler/type checker: Support for inheritance needed #58

Open
@martin-henz

Description

@martin-henz

https://share.sourceacademy.org/yezxq
currently produces:

SyntaxError: SyntaxError: Expected " ", "/*", "//", "\r\n", "{", [ \t\x0C], or [\r\n] but "e" found.

The program:

class Parent {
    void test(Parent p) {
    }
}

class Test extends Parent {
    public static void main(String[] args) {
        
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions