Skip to content

[Repo Assist] eng: update FSharp.TypeProviders.SDK to latest master (75ac6119)#1741

Draft
github-actions[bot] wants to merge 2 commits intomainfrom
repo-assist/eng-update-tpsdk-2026-04-14-e42d33ff888723ff
Draft

[Repo Assist] eng: update FSharp.TypeProviders.SDK to latest master (75ac6119)#1741
github-actions[bot] wants to merge 2 commits intomainfrom
repo-assist/eng-update-tpsdk-2026-04-14-e42d33ff888723ff

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

🤖 This is an automated pull request from Repo Assist, an AI assistant for this repository.

Summary

Updates paket.lock to pin FSharp.TypeProviders.SDK to the latest master commit 75ac6119 (previously ce34c1cc).

Changes in upstream TypeProviders.SDK

The new commits since ce34c1cc include:

Bug fixes

  • ProvidedTypeDefinition.Logger was silently broken (PR Review request default encoding #501): the static Logger member created a fresh ref cell on every access, so ProvidedTypeDefinition.Logger := Some f wrote into a temporary that was immediately discarded. The all-static-parameters-optional warning (and any custom logger) could never fire. Fixed by storing the ref in a static let loggerRef field.
  • 5 new tests covering the Logger warning path and non-Int32 enum round-trips via the target (IL reader) context.

Performance improvements

  • O(1) name-lookup caches in ILFieldDefs, ILEventDefs, ILPropertyDefs (PR Update ja/library/Http.fsx following changes of the original document. #502): converted from abstract interfaces to concrete classes with lazy Dictionary name-index caches, mirroring the existing ILMethodDefs pattern. GetField/GetPropertyImpl/GetEvent in TypeSymbol and TargetTypeDefinition now use TryFindByName instead of Array.tryFind (O(n)).
  • save-based caching for GetField/GetEvent/GetNestedType (PR Add AppVeyor CI #498): consistent with GetMethodImpl/GetPropertyImpl.
  • ILNestedExportedTypesAndForwarders: MapDictionary for O(1) lookups (PR Add AppVeyor CI #498).

Also included

Regenerated AssemblyInfo*.fs to match the current version (8.1.8.0) — the on-disk files were stale at 8.1.0.0.

Test Status

  • dotnet run --project build/build.fsproj -t Build0 errors, 26 warnings (pre-existing)
  • dotnet test tests/FSharp.Data.Core.Tests/2920 passed, 0 failed
  • ✅ Fantomas format check passed

Generated by Repo Assist

Generated by 🌈 Repo Assist, see workflow run. Learn more.

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@97143ac59cb3a13ef2a77581f929f06719c7402a

Updates paket.lock to FSharp.TypeProviders.SDK commit 75ac6119 (previously ce34c1cc).

New upstream changes since ce34c1cc:
- Bug fix: ProvidedTypeDefinition.Logger was silently broken (created a
  fresh ref cell on every access, so Logger := Some f had no effect)
- Bug fix: 5 new tests for Logger warning and non-Int32 enum round-trips
- Performance: ILFieldDefs/ILEventDefs/ILPropertyDefs converted to
  concrete classes with lazy O(1) name-lookup caches (mirrors ILMethodDefs)
- Performance: save-based caching for GetField/GetEvent/GetNestedType in
  ProvidedTypeDefinition (consistent with GetMethodImpl/GetPropertyImpl)
- Performance: ILNestedExportedTypesAndForwarders: Map -> Dictionary for O(1)

Also regenerates AssemblyInfo files to match current version (8.1.8.0).

Build: 0 errors, 26 warnings (pre-existing)
Tests: 2920 passed, 0 failed

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants