Description
When formatting code with object patterns containing comments (probably property expressions commented out for debugging or some such) which are otherwise empty the formatter produces a completely empty object pattern without the comments.
Steps to Reproduce
Format code with comments in object pattern.
var match = obj is {
//Property: 123
};
=>
Expected Behavior
Comments left intact.
Actual Behavior
Comments removed.
Description
When formatting code with object patterns containing comments (probably property expressions commented out for debugging or some such) which are otherwise empty the formatter produces a completely empty object pattern without the comments.
Steps to Reproduce
Format code with comments in object pattern.
=>
Expected Behavior
Comments left intact.
Actual Behavior
Comments removed.