Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES6 shim subclassability #29

Open
bergus opened this issue Jul 13, 2016 · 1 comment
Open

ES6 shim subclassability #29

bergus opened this issue Jul 13, 2016 · 1 comment

Comments

@bergus
Copy link
Contributor

bergus commented Jul 13, 2016

Not sure to what extent this is desired.
Some problems with the ES6-like interface are:

  • methods (including static ones) don't return subclass instances
  • static methods don't use this to resolve their inputs (and don't require this to be a promise constructor at all)

We might want to put up a warning for this. Not sure how complicated or performance-deteriorating it would be if we wanted to support this.

@briancavalier
Copy link
Owner

Good question. I don't intend to support it. I'd rather creed stay smaller and not require all the hoop jumping. So, yeah, I think a warning is the best thing.

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

No branches or pull requests

2 participants