We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0e68a commit 562ccb0Copy full SHA for 562ccb0
language-server/etc/version_parser.ml
@@ -9,7 +9,7 @@ let main () =
9
(* sanitization *)
10
let l =
11
match l with
12
- | l when List.for_all is_number l -> l
+ | [_;_;_] as l when List.for_all is_number l -> l
13
| [_] -> ["99";"99";"99"]
14
| _ -> Printf.eprintf "version_parser: cannot parse: %s\n" v; exit 1 in
15
let open Format in
0 commit comments