if (id1) {
throw new Error('syntax highlighting broke');
}
const backToNormal = 'yay';
if (id2) {
throw new Error('syntax highlighting is back');
}
Screenshot was taken on an instance with all extensions disabled.
Notice how the highlighting breaks after the `req.query` for the following if statement and its contents.
![Screenshot 2023-06-07 at 5 14 54 PM](https://github.com/microsoft/vscode/assets/26075792/e338fced-063a-43a2-a7ce-b13ba35400bf)
Here is a second screenshot with different theme added. You can see it breaks in the same spot.
![Screenshot 2023-06-07 at 5 15 38 PM](https://github.com/microsoft/vscode/assets/26075792/b1a242b4-b091-479c-ba82-92e21a478f40)
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
const { id1, id2 } = < { id1: string; id2: string; }
if (id1) { throw new Error('syntax highlighting broke'); }
const backToNormal = 'yay';
if (id2) { throw new Error('syntax highlighting is back'); }