run the program: switch(value/{ case 1: print(1); } Actual results: SyntaxError:Unexpected number '1'.Exceptd a ':' following the property name 'case'. Expected results: Excepted ')' to end a subject of a 'switch' The error message told me 'case 1' is wrong while the truth is that I mistakenly entered ‘switch(value)’ as ‘switch(value/’. It makes it difficult for me to correct this error.I think the error location should in 'switch(value/' rather than 'case 1:' and it should tell me excepted ')' rather than excepted a ':'.
<rdar://problem/98651685>