Skip to content

Update FSharp.Compiler.Service to 43.13.404 - #365

Merged
TheAngryByrd merged 2 commits into
mainfrom
fcs-43.13.404
Nov 17, 2026
Merged

TheAngryByrd merged 2 commits into
mainfrom
fcs-43.13.404

Conversation

@TheAngryByrd

Copy link
Copy Markdown
Member

Summary

This PR updates FSharp.Compiler.Service from 43.12.402 to 43.13.404, FSharp.Core from 10.1.402 to 10.1.404, and Ionide.ProjInfo.ProjectSystem from 0.75.3 to 0.76.0. Ionide.ProjInfo 0.76.0 uses the same FCS. ionide-analyzers and FsAutoComplete need this release to move to FCS 43.13.404.

The merge releases 0.43.0. This PR replaces the Dependabot PRs #363 and #364. #364 (FSharp.Core 11.0.101) does not work, because FCS 43.13.404 requires exactly FSharp.Core 10.1.404.

Changes

  • Directory.Packages.props: the three version updates.
  • ASTCollecting.fs: FCS 43.13 adds record type and expression spreads, such as type R = { ...A; Y: int } and { ...a; Y = 1 }. SynExpr.Record now holds SynExprRecordFieldOrSpread values, and SynTypeDefnSimpleRepr.Record holds SynFieldOrSpread values. walkAst walks the field expression or the spread expression, and the field or the spread type.
  • ASTCollectingTests.fs: two tests check that walkAst calls WalkExpr for the expression of an expression spread and WalkType for the type of a type spread.
  • The getting-started page pins FSharp.Core 10.1.404.
  • CHANGELOG.md: 0.43.0.

Effect on analyzer authors

This is a source break for analyzers that match on SynExpr.Record fields or on record type fields. Analyzers must be rebuilt against 0.43.0, as for each FCS update.

Validation

  • tests/FSharp.Analyzers.Cli.Tests: Passed: 98, Failed: 0 on net10.0.
  • The two new tests fail when the spread cases do nothing (Expected: some item equal to "spreadSource" and "SpreadSource").
  • The CLI loads samples/OptionAnalyzer with Ionide.ProjInfo 0.76.0 and reports OV001:
dotnet run --project src/FSharp.Analyzers.Cli/FSharp.Analyzers.Cli.fsproj -c Release --no-build -- --project ./samples/OptionAnalyzer/OptionAnalyzer.fsproj --analyzers-path ./artifacts/bin/OptionAnalyzer/release
samples\OptionAnalyzer\Library.fs(10,4): Warning OV001 : Option.Value shouldn't be used
  • samples/OptionAnalyzer.Test was not run locally. On the local Windows machine, createProject hangs in dotnet add package when no cached binlog exists, also on main. CI runs these tests.

🤖 Generated with Claude Code

TheAngryByrd and others added 2 commits November 16, 2026 18:33
Walk the expression of a record expression spread and the type of a
record type spread in ASTCollecting.walkAst. Update FSharp.Core to
10.1.404 and Ionide.ProjInfo.ProjectSystem to 0.76.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant