Skip to content

Commit

Permalink
Update FCS to 43.8.100-preview.23455.5. (#1162)
Browse files Browse the repository at this point in the history
* Update FCS to 43.8.100-preview.23455.5.

* Update error code in test.
nojaf authored Oct 6, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1f1011a commit b9d0927
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
@@ -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.23429.1
nuget FSharp.Compiler.Service >= 43.8.100-preview.23455.5
nuget Ionide.ProjInfo >= 0.62.0
nuget Ionide.ProjInfo.FCS >= 0.62.0
nuget Ionide.ProjInfo.ProjectSystem >= 0.62.0
6 changes: 3 additions & 3 deletions paket.lock
Original file line number Diff line number Diff line change
@@ -480,16 +480,16 @@ NUGET
FSharp.Core (>= 4.6.2) - restriction: || (== net6.0) (== net7.0) (&& (== netstandard2.0) (>= netcoreapp3.1)) (&& (== netstandard2.1) (>= netcoreapp3.1))
System.Collections.Immutable (>= 6.0) - restriction: || (== net6.0) (== net7.0) (&& (== netstandard2.0) (>= netcoreapp3.1)) (&& (== netstandard2.1) (>= netcoreapp3.1))
remote: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json
FSharp.Compiler.Service (43.8.100-preview.23429.1)
FSharp.Core (8.0.100-beta.23429.1)
FSharp.Compiler.Service (43.8.100-preview.23455.5)
FSharp.Core (8.0.100-beta.23455.5)
System.Buffers (>= 4.5.1)
System.Collections.Immutable (>= 7.0)
System.Diagnostics.DiagnosticSource (>= 7.0.2)
System.Memory (>= 4.5.5)
System.Reflection.Emit (>= 4.7)
System.Reflection.Metadata (>= 7.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
FSharp.Core (8.0.100-beta.23429.1)
FSharp.Core (8.0.100-beta.23455.5)

GROUP Build
STORAGE: NONE
1 change: 1 addition & 0 deletions src/FsAutoComplete.Core/CodeGeneration.fs
Original file line number Diff line number Diff line change
@@ -856,6 +856,7 @@ module CodeGenerationUtils =
| SynRationalConst.Rational(numerator = numerator; denominator = denominator) ->
sprintf "(%i/%i)" numerator denominator
| SynRationalConst.Negate(rationalConst = RationalConst s) -> sprintf "- %s" s
| SynRationalConst.Paren(rationalConst = inner) -> (|RationalConst|) inner

let rec (|TypeIdent|_|) =
function
2 changes: 1 addition & 1 deletion test/FsAutoComplete.Tests.Lsp/ScriptTests.fs
Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@ let dependencyManagerTests state =
| Ok _ -> failwith "Expected to fail typechecking a script with a dependency manager that's missing"
| Core.Result.Error e ->
match e with
| [| { Code = Some "3216" }; _ |] -> () // this is the error code that signals a missing dependency manager, so this is a 'success'
| [| { Code = Some "998" }; _ |] -> () // this is the error code that signals a missing dependency manager, so this is a 'success'
| e -> failwithf "Unexpected error during typechecking: %A" e
}) ] ]

0 comments on commit b9d0927

Please sign in to comment.