Skip to content

Make [<CallerMemberName; Struct>] combination work#18444

Merged
psfinaki merged 3 commits into
mainfrom
18386-struct-optional-parameter-with-caller-info-attributes-will-fails-in-type-check
Apr 9, 2025
Merged

Make [<CallerMemberName; Struct>] combination work#18444
psfinaki merged 3 commits into
mainfrom
18386-struct-optional-parameter-with-caller-info-attributes-will-fails-in-type-check

Conversation

@T-Gro

@T-Gro T-Gro commented Apr 3, 2025

Copy link
Copy Markdown
Member

The combination of [<CallerMemberName; Struct>] was not working correctly.
Fixes #18386

After fixing the typecheck failure, this later lead to invalid IL (Some x passed to ValueOption expecting methods).
This has been rectified for all 3 Caller.. enhancement attributes.

@github-actions

github-actions Bot commented Apr 3, 2025

Copy link
Copy Markdown
Contributor

❗ Release notes required


✅ Found changes and release notes in following paths:

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/9.0.300.md

T-Gro and others added 2 commits April 9, 2025 14:29
@T-Gro T-Gro marked this pull request as ready for review April 9, 2025 12:32
@T-Gro T-Gro requested a review from a team as a code owner April 9, 2025 12:32
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Apr 9, 2025
@psfinaki psfinaki merged commit 54c4b66 into main Apr 9, 2025
@T-Gro T-Gro deleted the 18386-struct-optional-parameter-with-caller-info-attributes-will-fails-in-type-check branch June 5, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Struct optional parameter with caller info attributes will fails in type check

3 participants