diff --git a/paket.dependencies b/paket.dependencies index 4ca1e0895..48a95de2c 100644 --- a/paket.dependencies +++ b/paket.dependencies @@ -4,7 +4,7 @@ framework: netstandard2.0, netstandard2.1, net6.0, net7.0, net8.0 source https://api.nuget.org/v3/index.json # this is the FCS nightly feed, re-enable at your own risk! -#source: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json +# source: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json #source: ./libs storage: none strategy: min @@ -13,7 +13,7 @@ lowest_matching: true nuget BenchmarkDotNet 0.13.5 nuget Fantomas.Client >= 0.9 -nuget FSharp.Compiler.Service >= 43.8.100-preview.23475.2 +nuget FSharp.Compiler.Service >= 43.8.100 nuget Ionide.ProjInfo >= 0.62.0 nuget Ionide.ProjInfo.FCS >= 0.62.0 nuget Ionide.ProjInfo.ProjectSystem >= 0.62.0 diff --git a/paket.lock b/paket.lock index ab6aca7c6..9a609e560 100644 --- a/paket.lock +++ b/paket.lock @@ -59,8 +59,8 @@ NUGET FSharp.Compiler.Service (>= 41.0.1) - restriction: || (== net6.0) (== net7.0) (== net8.0) (&& (== netstandard2.0) (>= net5.0)) (&& (== netstandard2.1) (>= net5.0)) FSharp.Core (>= 6.0.1) - restriction: || (== net6.0) (== net7.0) (== net8.0) (&& (== netstandard2.0) (>= net5.0)) (&& (== netstandard2.1) (>= net5.0)) McMaster.NETCore.Plugins (>= 1.4) - restriction: || (== net6.0) (== net7.0) (== net8.0) (&& (== netstandard2.0) (>= net5.0)) (&& (== netstandard2.1) (>= net5.0)) - FSharp.Compiler.Service (43.8.100-preview.23475.2) - FSharp.Core (8.0.100-beta.23475.2) + FSharp.Compiler.Service (43.8.100) + FSharp.Core (8.0.100) System.Buffers (>= 4.5.1) System.Collections.Immutable (>= 7.0) System.Diagnostics.DiagnosticSource (>= 7.0.2) @@ -74,7 +74,7 @@ NUGET FSharp.Control.Reactive (5.0.5) - restriction: || (== net6.0) (== net7.0) (== net8.0) (&& (== netstandard2.0) (>= net6.0)) (&& (== netstandard2.1) (>= net6.0)) FSharp.Core (>= 4.7.2) System.Reactive (>= 5.0 < 6.0) - FSharp.Core (8.0.100-beta.23475.2) + FSharp.Core (8.0.100) FSharp.Data.Adaptive (1.2.13) FSharp.Core (>= 4.7) System.Reflection.Emit.Lightweight (>= 4.6) @@ -373,7 +373,7 @@ NUGET Google.Protobuf (>= 3.19.4 < 4.0) Grpc (>= 2.44 < 3.0) - restriction: || (&& (== net6.0) (>= net462)) (&& (== net6.0) (< netstandard2.1)) (&& (== net7.0) (>= net462)) (&& (== net7.0) (< netstandard2.1)) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net462)) Grpc.Net.Client (>= 2.43 < 3.0) - restriction: || (== net6.0) (== net7.0) (== net8.0) (&& (== netstandard2.0) (>= netstandard2.1)) (== netstandard2.1) - OpenTelemetry (>= 1.3.2)1180 + OpenTelemetry (>= 1.3.2) Perfolizer (0.2.1) System.Memory (>= 4.5.3) SemanticVersioning (2.0.2) diff --git a/src/FsAutoComplete/CodeFixes/AdjustConstant.fs b/src/FsAutoComplete/CodeFixes/AdjustConstant.fs index 6fa058e3c..981f390c2 100644 --- a/src/FsAutoComplete/CodeFixes/AdjustConstant.fs +++ b/src/FsAutoComplete/CodeFixes/AdjustConstant.fs @@ -33,7 +33,7 @@ let private tryFindConstant ast pos = let rec findConst range constant = match constant with | SynConst.Measure(constant = c; constantRange = constantRange) when rangeContainsPos constantRange pos -> - findConst constantRange constant + findConst constantRange c | _ -> (range, constant) SyntaxTraversal.Traverse(