-
Notifications
You must be signed in to change notification settings - Fork 463
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 inline comment before spread syntax in record #6615
Fix inline comment before spread syntax in record #6615
Conversation
6f9395c
to
b06544f
Compare
@@ -125,7 +125,7 @@ let user = /* before */ { | |||
} // after | |||
|
|||
let spreadUser = { | |||
.../* before */ user1 /* after */, | |||
/* before */ ...user1 /* after */, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only place where the formatting will change. The spread (...) operator and the ident are matched together. I think it makes sense than allowing comment to be placed in between them.
@zth mind reviewing this when you have a chance? |
@cknitt you worked a bit with the comments, right? Could you review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉 Thanks a lot!
Fix #6506