报告 switch 语句中的标签语句。 虽然偶尔是有意为之,但这种结构通常由拼写错误所致。
switch
示例:
switch (x) { case 1: case2: // 警告: 'switch' 语句中的文本标签 'case2:' case 3: break; }