michaelgmcd / vscode-language-babel

VSCode syntax highlighting for today's JavaScript
https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel
MIT License
131 stars 17 forks source link

Class polymorphism in extends is wrong #53

Open goodmind opened 5 years ago

goodmind commented 5 years ago

image

michaelgmcd commented 5 years ago

Oof, This is a tricky one. This section of the language seems like the problem. The first object is picked up, but the second is treated as a primitive type. I'll try to play around with this a bit and see if I can come up with something.