Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
transform-decorators-legacy bug #13
@loganfsmyth: I tried on the day of the latest release a few days ago, but had to stop because I couldn't get it to work with mobservable. I'm trying again today and trying to track down the problems....
If I manually add transform-class-properties (maybe I'm configuring incorrectly?) I do not get the warning:
but I run into a second problem:
The world decorator is added, but the hello one is missing from the class decoration section. So it looks like there is a change / bug in how decorators handle class properties...(other more simple ones like
Thanks for the report, it looks like the first is probably an edge case that I missed. I'm thinking that class properties aren't currently working on classes that have parent classes. Does that seem likely to be the issue for the class that is throwing
I think your second issue may be a side-effect of your "fix" first the first. Adding
Excellent! I've done the steps you suggested and tested my build with Babel 6...and it works!
I'm going to unsubscribe from https://phabricator.babeljs.io/T2645 since I have what I need now. If you want to write a quick note there to respond to my question about the repurposing of the issue, it might help people decide to unsubscribe (I also find it a little spammy / chatty...it would be great if there weren't notification emails for people being added and removed be default).
I really appreciate you writing this plugin to get people over to Babel 6! Onto the future...