Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Output of Dart constructors should be checked #268

Open
mhevery opened this issue Aug 24, 2015 · 0 comments
Open

Output of Dart constructors should be checked #268

mhevery opened this issue Aug 24, 2015 · 0 comments

Comments

@mhevery
Copy link

mhevery commented Aug 24, 2015

Force of habit made me write the following AtScript code:

class Foo {
  Foo() {}
}

Here I meant to define a constructor. ES6 will treat Foo() as a method, but in Dart it becomes a constructor. The transpiler should fail when it sees this.

angular/angular#510

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant