bublejs / buble

https://buble.surge.sh
MIT License
871 stars 67 forks source link

Fix name collision in `A = class extends A {}` #209

Closed goto-bus-stop closed 5 years ago

goto-bus-stop commented 5 years ago

If the name of the subclass is identical to the name of the superclass, use a different variable name for the superclass inside the class function expression.

Fixes #196