make bare super call in non-constructors illegal

This commit is contained in:
Sebastian McKenzie
2015-01-22 07:52:31 +11:00
parent da6c2b8d6a
commit f2a432531e
4 changed files with 16 additions and 4 deletions

View File

@@ -1,7 +1,3 @@
# Notes
* Wildcard exports/imports wont normalise if `export default` is a non-object. See [#224](https://github.com/6to5/6to5/issues/224).
## 3.0.0 breaking changes
* Remove `super()` inside non-constructors - add descriptive error message.