New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix printing of comments around decorators and class properties #3382

Merged
merged 1 commit into from Dec 3, 2017

Conversation

Projects
None yet
2 participants
@azz
Member

azz commented Dec 3, 2017

Fixes #3351

Looks like #2906 wasn't general enough.

@@ -0,0 +1 @@
run_spec(__dirname, ["babylon", "typescript"]);

This comment has been minimized.

@duailibe

duailibe Dec 3, 2017

Member

Did you forget to include flow? 😂

This comment has been minimized.

@azz

azz Dec 3, 2017

Member

Flow doesn't support decorators

@azz azz merged commit 8524ed5 into prettier:master Dec 3, 2017

4 checks passed

codecov/patch Coverage not affected when comparing d80728b...7931b6c
Details
codecov/project 97.06% remains the same compared to d80728b
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details

@azz azz deleted the azz:decorator-comments-2 branch Dec 3, 2017

@duailibe duailibe added this to the 1.9 milestone Dec 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment