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

Merge main to release/dev17.11 #17069

Merged
merged 4 commits into from
Apr 19, 2024
Merged

Conversation

dotnet-bot
Copy link
Contributor

This is an automatically generated pull request from main into release/dev17.11.

Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯

Troubleshooting conflicts

Identify authors of changes which introduced merge conflicts

Scroll to the bottom, then for each file containing conflicts copy its path into the following searches:

Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts.

Resolve merge conflicts using your local repo

Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub.

git fetch --all
git checkout -t upstream/merges/main-to-release/dev17.11
git reset --hard upstream/release/dev17.11
git merge upstream/main
# Fix merge conflicts
git commit
git push upstream merges/main-to-release/dev17.11 --force

brianrourkeboll and others added 3 commits April 19, 2024 12:23
* Don't throw when getting tooltip in VS with no sln

* Previously, if you opened Visual Studio with no solution and then
  opened an F# script file, tooltips would not work. This was because
  the quick info provider did not account for the possibility of a
  non-existent solution. This change updates the quick info provider so
  that it no longer tries to get the relative path of a solution that
  does not exist.

* Update release notes
…stent (#17017)

* Add tests for indexed setters with tuples

* Wrap value expr in extra parens in 3 more cases

  * In the scenarios where assigning an unparenthesized tuple using an
    indexed setter already works, `MakeDelayedSet` is actually being
    called twice — once before `TcIndexingThen` is called, and once inside
    of it. For `SynExpr.NamedIndexedPropertySet`, `SynExpr.DotIndexedSet`,
    and, `SynExpr.DotNamedIndexedPropertySet`, we don't actually want to
    delay it; it just needs an extra set of parens (whether it should
    really need double parens is a different question). In this commit,
    I am simply adding the extra parens inline. I could alternatively
    have updated `MakeDelayedSet` itself to always wrap in double
    parens, although that would mean that in the codepaths where that
    function is itself already being called twice, we'd be adding extra
    parens parens unnecessarily. While extra parens do not affect
    typechecking (unlike insufficient parens), it seems undesirable to
    allocate more nodes than we really need, only to strip them later
    anyway.

* Update release notes

* Move release notes
* root embed -files

* Release notes

---------

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
@dotnet-bot dotnet-bot force-pushed the merges/main-to-release/dev17.11 branch from 761cfd8 to c968008 Compare April 19, 2024 12:05
@dotnet-bot dotnet-bot requested a review from a team as a code owner April 19, 2024 12:05
Copy link
Contributor

❗ Release notes required


✅ Found changes and release notes in following paths:

Warning

No PR link found in some release notes, please consider adding it.

Change path Release notes path Description
src/Compiler docs/release-notes/.FSharp.Compiler.Service/8.0.400.md No current pull request URL (#17069) found, please consider adding it
vsintegration/src docs/release-notes/.VisualStudio/17.11.md No current pull request URL (#17069) found, please consider adding it

@T-Gro T-Gro enabled auto-merge April 19, 2024 12:29
@T-Gro T-Gro merged commit b369282 into release/dev17.11 Apr 19, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants