Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SetLangVersion compiler option to13.0 in Test.Common.props#24621

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
iSazonov merged 1 commit intoPowerShell:masterfromxtqqczze:LangVersion2
Feb 8, 2025

Conversation

xtqqczze
Copy link
Contributor

@xtqqczzextqqczze commentedNov 26, 2024
edited by iSazonov
Loading

Close#24622

  • test/Test.Common.props

@@ -17,13 +17,13 @@ public JsonResult Index()
Hashtable args = new Hashtable();
foreach (var key in Request.Query.Keys)
{
args.Add(key, string.Join(Constants.HeaderSeparator, Request.Query[key]));
args.Add(key, string.Join(Constants.HeaderSeparator,(string)Request.Query[key]));
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should be fixed in Runtime repository. Is there an issue for the pattern?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Could you please report to Runtime repo the issue?

I see there are:
dotnet/runtime#101261
dotnet/runtime#101499
dotnet/runtime#101457

@xtqqczze I suggest to revert to 11.0 lang for the test project so that we can merge and don't wait comments from dotnet team.

Originally posted by@iSazonov in#24617 (comment)

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

dotnet/runtime#101499 is labelledneeds-breaking-change-doc-created

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Started discussion:dotnet/runtime#110216

Copy link
Collaborator

@iSazonoviSazonovDec 10, 2024
edited
Loading

Choose a reason for hiding this comment

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

Could you please explicitly report (with repro steps) about the issue with cast needed? I guess it is not doc issue, it should be fixed in Runtime.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

It seems like the issue is withMicrosoft.Extensions.Primitives.StringValues

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

The issue is a breaking change, resolution is by updating code, e.g.dotnet/aspnetcore@7e353a3

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Opened issue:dotnet/docs#44102

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

test/tools/WebListener/Controllers/GetController.cs(20,38): error CS0121: The call is ambiguous between the following methods or properties: 'string.Join(string?, params string?[])' and 'string.Join(string?, params ReadOnlySpan<string?>)' [test/tools/WebListener/WebListener.csproj]test/tools/WebListener/Controllers/GetController.cs(26,41): error CS0121: The call is ambiguous between the following methods or properties: 'string.Join(string?, params string?[])' and 'string.Join(string?, params ReadOnlySpan<string?>)' [test/tools/WebListener/WebListener.csproj]

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

The issue is a breaking change, resolution is by updating code, e.g.dotnet/aspnetcore@7e353a3

@iSazonov This is a confirmed breaking change in .NET 9, seedotnet/docs#44102 (comment).

iSazonov reacted with thumbs up emoji
@xtqqczzextqqczze marked this pull request as draftNovember 27, 2024 09:18
@microsoft-github-policy-servicemicrosoft-github-policy-servicebot added the Waiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept labelDec 1, 2024
@xtqqczzextqqczze marked this pull request as ready for reviewDecember 3, 2024 23:14
@microsoft-github-policy-servicemicrosoft-github-policy-servicebot removed the Waiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept labelDec 10, 2024
@microsoft-github-policy-servicemicrosoft-github-policy-servicebot added the Review - NeededThe PR is being reviewed labelDec 17, 2024
@xtqqczze
Copy link
ContributorAuthor

@iSazonov can you please review?

@iSazonoviSazonov added the CL-BuildPackagingIndicates that a PR should be marked as a build or packaging change in the Change Log labelFeb 8, 2025
@iSazonov
Copy link
Collaborator

/azp run

@microsoft-github-policy-servicemicrosoft-github-policy-servicebot removed the Review - NeededThe PR is being reviewed labelFeb 8, 2025
@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@iSazonoviSazonov self-assigned thisFeb 8, 2025
@iSazonoviSazonov changed the titleSetLangVersion compiler option to13.0SetLangVersion compiler option to13.0 in Test.Common.propsFeb 8, 2025
@iSazonoviSazonovenabled auto-merge (squash)February 8, 2025 06:59
@iSazonoviSazonov merged commitf22ad2e intoPowerShell:masterFeb 8, 2025
39 of 41 checks passed
@microsoft-github-policy-serviceMicrosoft GitHub Policy Service
Copy link
Contributor

microsoft-github-policy-servicebot commentedFeb 8, 2025
edited by unfurl-linksbot
Loading

📣 Hey@xtqqczze, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗https://aka.ms/PSRepoFeedback

@xtqqczzextqqczze deleted the LangVersion2 branchFebruary 8, 2025 10:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@iSazonoviSazonoviSazonov approved these changes

@daxian-dbwdaxian-dbwAwaiting requested review from daxian-dbw

@TravisEz13TravisEz13Awaiting requested review from TravisEz13

@adityapatwardhanadityapatwardhanAwaiting requested review from adityapatwardhan

@anmenagaanmenagaAwaiting requested review from anmenaga

Assignees

@iSazonoviSazonov

Labels
CL-BuildPackagingIndicates that a PR should be marked as a build or packaging change in the Change Log
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Set LangVersion compiler option to 13.0
2 participants
@xtqqczze@iSazonov

[8]ページ先頭

©2009-2025 Movatter.jp