_From @Glinkis on August 17, 2018 14:37_ When casting a value and performing a less than check straight after, it breaks all following syntax highlighting. <img width="312" alt="screen shot 2018-08-17 at 16 38 11" src="https://user-images.githubusercontent.com/8037927/44272034-0034d500-a23c-11e8-8d68-5b2a7e29b8a4.png"> vs <img width="297" alt="screen shot 2018-08-17 at 16 38 22" src="https://user-images.githubusercontent.com/8037927/44272033-0034d500-a23c-11e8-8978-20fd325dc6f4.png"> - VSCode Version: 1.26.1 - OS Version: macOS High Sierra 10.13.6 Steps to Reproduce: ```typescript // Correct colors. function doesSomething(value: number) { if (value as number > 10) { return "huh" } else { return null; } } // Wrong colors. function doesSomething2(value: number) { if (value as number < 10) { return "huh" } else { return null; } } ``` _Copied from original issue: Microsoft/vscode#56689_