Skip to content

Conversation

@mthalman
Copy link
Member

These changes fix build errors when attempting to source-build fsharp with the bootstrap flow, using the latest 8.0 preview 1 SDK as the target SDK to build the project. This results in FS1182 warnings for several cases of unused values, which are then treated as errors.

These changes address the issue by compiling out the values for the condition that they're not referenced.

@mthalman mthalman requested a review from a team as a code owner February 14, 2023 20:01
@mthalman
Copy link
Member Author

This is needed for 8.0 Preview 1 release. Needs to be merged ASAP.

@crummel
Copy link
Contributor

crummel commented Feb 14, 2023

cc @KevinRansom @brettfo

@vzarytovskii
Copy link
Member

It's either this or remove defining of no_typeproviders in props file.

@vzarytovskii vzarytovskii enabled auto-merge (squash) February 14, 2023 20:07
@vzarytovskii
Copy link
Member

This is needed for 8.0 Preview 1 release. Needs to be merged ASAP.

I can just merge it without waiting on CI, if you've checked it locally or in source build.

@vzarytovskii vzarytovskii merged commit 75647e8 into dotnet:release/dev17.6 Feb 14, 2023
@mthalman mthalman deleted the analyzer-fixes branch February 14, 2023 20:25
mthalman added a commit to mthalman/installer that referenced this pull request Feb 14, 2023
This is replaced by the repo fix: dotnet/fsharp#14750
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.

3 participants