bublejs / buble

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

Fix transpiling string-keyed properties with whitespaces before colons #200

Closed Saberre closed 5 years ago

Saberre commented 5 years ago

First, sorry for not creating the issue first.

I've found that bublé produces incorrect results when a string-keyed property in an object which starts with a computed property has whitespaces before colons. I added a test case for it so please take a look.

I think it's already mentioned in https://github.com/bublejs/buble/pull/91#discussion_r161163431.

nathancahill commented 5 years ago

Excellent. Thank you