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-GroT-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-actionsBot commented Apr 3, 2025

Copy link
Copy Markdown
Contributor

❗ Release notes required


✅ Found changes and release notes in following paths:

Change pathRelease notes pathDescription
src/Compilerdocs/release-notes/.FSharp.Compiler.Service/9.0.300.md

@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 ownerApril 9, 2025 12:32
@github-project-automationgithub-project-automationBot moved this from New to In Progress in F# Compiler and ToolingApr 9, 2025
@psfinaki
psfinaki merged commit 54c4b66 into mainApr 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 freeto 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

@T-Gro@psfinaki@abonie