You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
There seem to be a bug with the syntax highlighting when using objects. I know this is not a largely used feature of OCaml but I'm experimenting with objects at the moment and it seems that the hightlighting there is not correct.
The following code
class['s] list_monoid=objectinherit ['s] VisitorsRuntime.monoid
methodprivate zero=[]methodprivate plus= (@)
endletliteral_base_elements (lit: Literal.t) : Literal.t list =let v =objectinherit [_] Visitors.reduce as super
inherit [_] list_monoid
methodvisit_literale=function|LList_asl -> super#visit_literal e l
|l -> [l]
endin
v#visit_literal () lit
which compiles properly doesn't get highlighted properly.
I think this problem is inherited from every other syntax of OCaml for vscode
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
There seem to be a bug with the syntax highlighting when using objects. I know this is not a largely used feature of OCaml but I'm experimenting with objects at the moment and it seems that the hightlighting there is not correct.
The following code
which compiles properly doesn't get highlighted properly.
I think this problem is inherited from every other syntax of OCaml for vscode
The text was updated successfully, but these errors were encountered: