Skip to content

TypeScript Syntax highlighting issue with <= operator #692

@unional

Description

@unional
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions