Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

T-Gro
Copy link
Member

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

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.

Copy link
Contributor

github-actions bot commented Apr 3, 2025

❗ 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
33 checks passed
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