BUG: Inconsistent token highlight
Open
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.128.0
- OS Version: Windows_NT x64 10
- Commit: fc3def6774c76082adf699d366f31a557ce5573f
Steps to Reproduce:
1. Open new text window, choose `typescript` lang
2. Put code:
```ts
const test = {
firstMethod() {
return this;
},
secondMethod<
T extends any
>(callback: T) {
return this;
},
};
```
3. Parts of code `return this;` are highlighted differently by editor:
**But must be colored exactly the same**
Contributor guide
Assessment
This issue has not been assessed yet.