vscode-ocaml-platform icon indicating copy to clipboard operation
vscode-ocaml-platform copied to clipboard

Comment syntax highlighting leaks if mistmatched brackets are present

Open Alizter opened this issue 4 years ago • 4 comments

The following code leaks syntax highlighting (in VSCode), but only for ** not for * comments:

(*** comment with silly bracket [(] *)

let foo = 5

Alizter avatar Feb 15 '22 17:02 Alizter

Something similar happens with string literals....

image

Kakadu avatar Apr 14 '22 16:04 Kakadu

@Kakadu: That is slightly different since it involves tracking the quoted string identifier (x).

Please make a new issue.

mlantas avatar Apr 14 '22 17:04 mlantas

Does this issue still exist in the latest version?

smorimoto avatar Oct 27 '23 20:10 smorimoto

Yes for 1.13.3.

image

image

Alizter avatar Oct 27 '23 21:10 Alizter