Skip to content

[es2015] Constructor don't call super #10193

@mantyz

Description

@mantyz

Versions

Angular CLI: 6.0.0-rc.1
Node: 8.11.1
OS: linux x64
Angular: 6.0.0-rc.1
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router


@angular-devkit/architect: 0.5.1
@angular-devkit/build-angular: 0.5.1
@angular-devkit/build-optimizer: 0.5.1
@angular-devkit/core: 0.5.1
@angular-devkit/schematics: 0.5.1
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.1
@schematics/angular: 0.5.1
@schematics/update: 0.5.1
typescript: 2.7.2
webpack: 4.5.0
Linux (Debian 8)

Repro steps

  • ng new project
  • change tsconfig.json target to es2015
  • ng serve --prod
  • run localhost:4200
  • open browser DevTools console

Observed behavior

bug

Desired behavior

I want to see the demo page, but I see an error in the console.

Mention any other details that might be useful (optional)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions