Closed
Description
- VSCode Version: Version 1.33.1 (1.33.1)
- OS Version: macOS 10.14.4 (18E226)
Steps to Reproduce:
The following is contrived to show this particular case.
/* prettier-ignore */
const dummy = (div, g) => {
( [] /([(div)])/g / [] );
( ([]) /([(div)])/g / [] );
( [] /* */ /([(div)])/g / [] );
};
- Paste this code into a new
javascript
file - Ignore any type-specific errors (because it is still valid ES syntax)
- Note the last statement highlights as RegExp but still tokenizes correctly by tsserver.
Does this issue occur when all extensions are disabled?: Not tested
Metadata
Metadata
Assignees
Labels
No labels