Skip to content

Playground is not supporting for "wrong order" classes #8633

@xsetion

Description

@xsetion

Actual behavior:

I write two classes in the playground and when I run the code I get an error in the console which land on the extend function.

class Snake extends Greeter {
constructor() {
super();
}
skip(){}
}
class Greeter {
constructor() {}

skip(){
    console.log('nothig to skip');
    this.preEnd();
    console.log('so just ended');
}
preEnd(){}

}

Expected behavior:

The order of the class should not matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions