Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript Syntax highlighting issue with <= operator #692

Closed
unional opened this issue Dec 3, 2018 · 0 comments
Closed

TypeScript Syntax highlighting issue with <= operator #692

unional opened this issue Dec 3, 2018 · 0 comments

Comments

@unional
Copy link

unional commented Dec 3, 2018

  • VSCode Version: 1.29.1
  • OS Version: OSX

Steps to Reproduce:

export function isInOpenInterval(start: number, end: number) {
  return tersible(a => a > start && a < end, () => `(${start}...${end})`)
}
export function isInClosedInterval(start: number, end: number) {
  return tersible(a => a >= start && a <= end, () => `[${start}...${end}]`)
}

image

Causes by a < end. If I enclose it with (a < end) then it is highlighting correctly.

@vscodebot vscodebot bot assigned mjbvz Dec 3, 2018
@mjbvz mjbvz transferred this issue from microsoft/vscode Dec 3, 2018
@mjbvz mjbvz removed their assignment Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants