Skip to content

Conversation

@vzarytovskii
Copy link
Member

Description
A recent feature impacting the IL Visibility of some F# types had an unintended impact to the F# optimization feature. The optimizer is incorrectly unable to inline some code that has "private" visibility, even when the inlined variables are "in-scope". The fix removes the code that aggressively and incorrectly detects this private visibility.

Regression? (was it working in a previous release or preview?)
Yes
this is a regression, it has been observed internally, as well as by external developers using the 8.0.300 preview SDK.

Risk (see taxonomy)
Low: it removes an unnecessary, incorrect warning.

Testing

New automated regression tests added.

Original issue: #17161

PR into main: 9d05359

@vzarytovskii vzarytovskii added NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes Servicing-consider labels May 21, 2024
@vzarytovskii vzarytovskii requested a review from a team as a code owner May 21, 2024 13:08
@github-actions
Copy link
Contributor

Caution

Repository is on lockdown for maintenance, all merges are on hold.

@github-actions
Copy link
Contributor

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@vzarytovskii vzarytovskii changed the base branch from main to release/dev17.10 May 21, 2024 13:08
@baronfel baronfel changed the title Fix inlining regression: https://github.com/dotnet/fsharp/issues/17161 #17189 Fix inlining regression #17189 May 21, 2024
@baronfel baronfel changed the title Fix inlining regression #17189 Fix inlining regression May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes Servicing-approved

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants