Skip to content
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

Revert back to use the wrong attribute targets for union case declarations. #18342

Closed
wants to merge 67 commits into from

Conversation

edgarfgp
Copy link
Contributor

@edgarfgp edgarfgp commented Feb 26, 2025

Fixes #18298

Checklist

  • Test cases added
  • Release notes entry updated

majocha and others added 30 commits January 6, 2025 21:16
…t 1 (dotnet#18195)

* refactor

* tests/FSharp.Compiler.ComponentTests/EmittedIL/ForLoop
…t 2 (dotnet#18196)

* More tests - directory attribute improvements

* methordresolution
* fix AsyncLazy cancellation

* baselines
* otel instrumentation for xunit test runs

* wip

* sort out deps version conflict

* disable for desktop
…ence-packages build 20250110.3 (dotnet#18226)

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.24619.1 -> To Version 9.0.0-alpha.1.25060.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…108.5 (dotnet#18227)

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24623.3 -> To Version 9.0.0-beta.25058.5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Kevin Ransom (msft) <[email protected]>
… Generic arguments (dotnet#17877)

* tests

* code

* baseline

* fantomas

* release notes

* ilverify baselines

* Update tests/FSharp.Compiler.ComponentTests/Conformance/LexicalAnalysis/SymbolicOperators.fs

Yeah the comments are pointless.

Co-authored-by: Tomas Grosup <[email protected]>

* Feedback pt 1

* temp

* tests

* release notes

* debug

* Update DEVGUIDE.md

Co-authored-by: Petr <[email protected]>

---------

Co-authored-by: Tomas Grosup <[email protected]>
Co-authored-by: Petr <[email protected]>
…nager/DependencyProvider.fs and refactored. (dotnet#18207)

* /Compiler/TypedTree/TypedTreePickle.fs refactored.
"#if" directive around nullness removed from src
Related: dotnet#18061 (partially addresses)

- [x] Release notes entry updated: in
    `docs/release-notes/.FSharp.Compiler.Service/9.0.200.md`,

* try 2

* refactoring

* .

* .

* lets hope this works

* .

* fantomas tried with a bit of tricks DependencyProvider.fs

* fantomas ignore

* unformat

---------

Co-authored-by: Petr <[email protected]>
…115.2 (dotnet#18240)

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.25058.5 -> To Version 9.0.0-beta.25065.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* simplify tests dependencies

* OverallHintExperienceTests
…ence-packages build 20250116.1 (dotnet#18242)

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 9.0.0-alpha.1.25060.3 -> To Version 9.0.0-alpha.1.25066.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Expose missing constraints

* Updated release notes
T-Gro and others added 18 commits February 4, 2025 14:03
…#18291)

* Add missing project reference from FSharpSuite to fsc project

* fix
* Symbols: add FSharpAssembly.IsFSharp

* Surface area

* Release notes
…uagePrimitves into instance method calls (dotnet#18296)

* Handle |null types when optimizing away eqals/hash/compare from function call to instance method

* Set propper test assert

* fantomas and notes

* remove comment
Contributes to dotnet/sdk#46642

NuGet added a new feature that automatically prunes package and project references that are provided by the shared framework that is targeted.
* trace test run activity

* declutter StackGuard.Guard traces

* add otel to debug vsix

* ref otel in debug only

* delay tags allocation

* fix opens

* format

* better naming
* Cancellable: fix leaking cancellation token

* Release notes

Update docs/release-notes/.FSharp.Compiler.Service/9.0.300.md

* Set Cancellable.Token in transparent compiler

* Review fixes

* Move setting the token

* Fantomas

* Transparent compiler

* il bsl

---------

Co-authored-by: Petr <[email protected]>
…211.5 (dotnet#18310)

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.25077.4 -> To Version 9.0.0-beta.25111.5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…otnet#18300)

* Resolve `nameof` in `nameof<'T>`

* Resolve `nameof` in `match … with nameof ident -> …`

* Add `nameof` classification tests

* Update release notes

* Might as well make them compilable

* Show `nameof` as keyword in `nameof<…>` even when the type parameter is invalid

* Touchup
NuGet added a new feature that automatically prunes package and project references that are provided by the shared framework that is targeted.

Resolve the one warning that got emitted when building the repository in non-source-only mode.
Copy link
Contributor

github-actions bot commented Feb 26, 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
Copy link
Member

T-Gro commented Feb 26, 2025

@edgarfgp , thanks for handling this.
Please target this to 17.13 version, this PR is worth being a servicing patch for NET9.

(it will then flow to main+17.14 out of the servicing branch)

@edgarfgp edgarfgp changed the base branch from main to release/dev17.13 February 27, 2025 11:01
@edgarfgp edgarfgp marked this pull request as ready for review February 27, 2025 13:57
@edgarfgp edgarfgp requested review from a team as code owners February 27, 2025 13:57
@edgarfgp edgarfgp requested a review from T-Gro February 27, 2025 13:57
Copy link
Member

@T-Gro T-Gro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edgarfgp :

What happened now is that it took all commits from your local main clone and wants to push those onto dev17.13.

Your change should rather be rebased on top of dev17.13 (or, since the actual change is so small, can also be dona from scratch on the dev17.13 branch directly).

I will reject the PR to avoid accidental merging of 67 commits into a servicing branch :)

@edgarfgp edgarfgp closed this Feb 27, 2025
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.

F# 9 changes the validation of attribute usage targets for union cases.