Skip to content
This repository was archived by the owner on Jul 30, 2018. It is now read-only.
This repository was archived by the owner on Jul 30, 2018. It is now read-only.

TypeScript 2.1: Use of super and this #238

Closed
@kitsonk

Description

@kitsonk

Because of the new transformation based emitter, ES6 code that used to incorrectly compile to ES5 and "work" is now broken in an ES6 emit and the ES5 emit. Basically, it has to do with the availability of this when passing a function to super() in a class. This effects the "unwrapping" of promises when subclassing (like our ExtensiblePromise and Task). The issue Microsoft/TypeScript#8060 describes it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions