Clarify note on when gotos are valid in switches #5842
                
     Merged
            
            
          
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
     now.  You should see the change on the live site in the next day or two on our regular publishing cycle.
 now.  You should see the change on the live site in the next day or two on our regular publishing cycle.
The previous note could be read as a mistyped 2 element list - that goto statements are valid for the constant pattern and the classic switch statement. Changing the comma to parentheses makes it clear that 'the classic switch statement' is to clarify 'the constant pattern' rather than be an alternative to it.
Summary
Changed the note describing when gotos are valid in switches to reduce ambiguity. The original form could have been read as gotos being valid for the constant pattern and the classic switch statement, given a not unreasonable assumption that the comma could have been a typo for 'and'. Putting 'the classic switch statement' in parentheses makes it clearer that it's an aside to clarify the original statement.
Of course, I might have misunderstood entirely and the correct change would be to replace the comma with 'and'...