Skip to content

IOSession class is accessing this before calling super #40399

@Jack-Works

Description

@Jack-Works

TypeScript Version: master branch

I changed TypeScript build target from "ES5" to "ES2019" and it failed to start.

 if (this.constructed) {
                    ^

ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions