prettier-plugin-csharp icon indicating copy to clipboard operation
prettier-plugin-csharp copied to clipboard

Allow switch section without statement

Open CharlesTaylor7 opened this issue 4 years ago • 1 comments

For whatever reason, you can have an empty case switch section, but not an empty default switch section. I don't know why the compiler allows this, but so should we. Sharplab example

CharlesTaylor7 avatar Aug 24 '19 18:08 CharlesTaylor7

I'll let you fix the conflicts.

warrenseine avatar Aug 25 '19 08:08 warrenseine