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
module type S=sigtypetendmoduleMake(T:S) =structlet const =5module type Show=sigincludeSvalshow : t -> stringendendmoduleMake2(T:S) : Swithtype t =T.t =structtypet = T.tendmoduleInt=structtype t =intendmoduleT=Make(Make2(Int))
(* No parse errors *)moduleShow1 : Make(Int).Show=structincludeIntlet show = string_of_int
endmoduleFoo2 : moduletype of Make(Make2(Int)) =Make(Make2(Int))
let const =letmoduleM = Make(Make2(Int)) inM.const
(* Shows parse error on last parentice *)moduleShow2 : Make(Make2(Int)).Show=structmodule type S=sigincludeMake(Make2(Int)).ShowendincludeIntlet show = string_of_int
end
The text was updated successfully, but these errors were encountered:
struktured
changed the title
Parentice highlighting error
Parentice highlighting error in vim
Aug 17, 2015
moduleMake (M : sig end) =structmoduletypeS=sigendendmoduleTest : Make(Make(Int)).S=structend(* -------------------------^ this last parenthesis is linted as an error *)
Image and code attached with an example. I assume it's a rule in this file:
https://github.com/rgrinberg/vim-ocaml/blob/master/syntax/ocaml.vim
but I couldn't figure out myself.
The text was updated successfully, but these errors were encountered: