File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 25
25
26
26
- Accept ` --port ` as a synonym for ` --socket ` . (#1075 )
27
27
28
+ - Fix connecting to dune rpc. (#1080 )
29
+
28
30
## Features
31
+
29
32
- Add "Remove type annotation" code action. (#1039 )
30
33
31
34
# 1.15.1
Original file line number Diff line number Diff line change @@ -597,6 +597,7 @@ let uri_dune_overlap =
597
597
| "." :: xs -> xs
598
598
| xs -> xs
599
599
in
600
+ let normalize = if Sys. win32 then String. lowercase_ascii else fun x -> x in
600
601
fun (uri : Uri.t ) (dune : Registry.Dune.t ) ->
601
602
let dune_root = Registry.Dune. root dune in
602
603
let path =
@@ -606,7 +607,7 @@ let uri_dune_overlap =
606
607
in
607
608
let rec loop xs ys =
608
609
match (xs, ys) with
609
- | x :: xs , y :: ys -> x = y && loop xs ys
610
+ | x :: xs , y :: ys -> normalize x = normalize y && loop xs ys
610
611
| [] , _ | _ , [] -> true
611
612
in
612
613
loop (explode_path dune_root) (explode_path path)
You can’t perform that action at this time.
0 commit comments