vscode-reasonml icon indicating copy to clipboard operation
vscode-reasonml copied to clipboard

Incorrect highlighting when using type constraints

Open pascutto opened this issue 6 years ago • 0 comments

Hi there ! Here is some report about code breaking syntax highlighting in OCaml, while accepted by the compiler :

let cast t = (t :> [`Read | `Write] t)

 let batch_noop t f =
   f (cast t)

And here is the sample output : wrong_highlighting

pascutto avatar Mar 28 '19 16:03 pascutto