Skip to content

Commit 1923622

Browse files
authored
Merge pull request #213 from ionide/bump-fcs-to-8.0.300
update FCS and FSharp.Core for the new release
2 parents b296711 + fc7136f commit 1923622

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
66
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.26.0] - 2024-05-15
9+
10+
### Changed
11+
12+
* [Emit Analyzer Errors in the MSBuild Canonical Error Format](https://github.com/ionide/FSharp.Analyzers.SDK/pull/208) (thanks @Numpsy!)
13+
* [Update Structured Logger libraries](https://github.com/ionide/FSharp.Analyzers.SDK/pull/211) (thanks @nojaf!)
14+
* Update FSharp.Compiler.Service and FSharp.Core to the .NET SDK 8.0.300 release versions
15+
816
## [0.25.0] - 2024-02-14
917

1018
### Changed

Directory.Packages.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
</PropertyGroup>
66
<ItemGroup>
77
<PackageVersion Include="CliWrap" Version="3.6.4" />
8-
<PackageVersion Include="FSharp.Core" Version="[8.0.200]" />
9-
<PackageVersion Include="FSharp.Compiler.Service" Version="[43.8.200]" />
8+
<PackageVersion Include="FSharp.Core" Version="[8.0.300]" />
9+
<PackageVersion Include="FSharp.Compiler.Service" Version="[43.8.300]" />
1010
<PackageVersion Include="Ionide.KeepAChangelog.Tasks" Version="0.1.8" PrivateAssets="all" />
1111
<PackageVersion Include="McMaster.NETCore.Plugins" Version="1.4.0" />
1212
<PackageVersion Include="Argu" Version="6.1.1" />
1313
<PackageVersion Include="Glob" Version="1.1.9" />
14-
<PackageVersion Include="Ionide.ProjInfo.ProjectSystem" Version="0.63.0" />
14+
<PackageVersion Include="Ionide.ProjInfo.ProjectSystem" Version="0.65.0" />
1515
<PackageVersion Include="Microsoft.Build" Version="$(MsBuildPackageVersion)" ExcludeAssets="runtime" />
1616
<PackageVersion Include="Microsoft.Build.Framework" Version="$(MsBuildPackageVersion)" ExcludeAssets="runtime" />
1717
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="$(MsBuildPackageVersion)" ExcludeAssets="runtime" />
1818
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="$(MsBuildPackageVersion)" ExcludeAssets="runtime" />
19-
<PackageVersion Include="Microsoft.Build.Locator" Version="1.4.1" />
19+
<PackageVersion Include="Microsoft.Build.Locator" Version="1.7.8" />
2020
<!-- Need to update Directory.Build.props DotNet.ReproducibleBuilds.Isolated version when updating this-->
2121
<PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.1.1" PrivateAssets="All" />
2222
<PackageVersion Include="Microsoft.Extensions.Logging" Version="6.0.0" />

src/FSharp.Analyzers.SDK/ASTCollecting.fs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ module ASTCollecting =
2525
| SynArgPats.Pats ps -> ps
2626
| SynArgPats.NamePatPairs(pats = xs) -> xs |> List.map (fun (_, _, pat) -> pat)
2727

28-
/// A pattern that collects all patterns from a `SynSimplePats` into a single flat list
29-
let (|AllSimplePats|) (pats: SynSimplePats) =
30-
let rec loop acc pat =
31-
match pat with
32-
| SynSimplePats.SimplePats(pats = pats) -> acc @ pats
33-
34-
loop [] pats
35-
3628
type SyntaxCollectorBase() =
3729
abstract WalkSynModuleOrNamespace: path: SyntaxVisitorPath * SynModuleOrNamespace -> unit
3830
default _.WalkSynModuleOrNamespace(_, _) = ()
@@ -493,9 +485,9 @@ module ASTCollecting =
493485
match s with
494486
| SynMemberDefn.AbstractSlot(slotSig = valSig) -> walkValSig nextPath valSig
495487
| SynMemberDefn.Member(binding, _) -> walkBinding nextPath binding
496-
| SynMemberDefn.ImplicitCtor(attributes = AllAttrs attrs; ctorArgs = AllSimplePats pats) ->
488+
| SynMemberDefn.ImplicitCtor(attributes = AllAttrs attrs; ctorArgs = pats) ->
497489
List.iter (walkAttribute nextPath) attrs
498-
List.iter (walkSimplePat nextPath) pats
490+
walkPat nextPath pats
499491
| SynMemberDefn.ImplicitInherit(inheritType = t; inheritArgs = e) ->
500492
walkType nextPath t
501493
walkExpr nextPath e

0 commit comments

Comments
 (0)