Repository navigation
Set LangVersion compiler option to 13.0 in Test.Common.props - #24621
Conversation
There was a problem hiding this comment.
I think this should be fixed in Runtime repository. Is there an issue for the pattern?
There was a problem hiding this comment.
Could you please report to Runtime repo the issue?
I see there are:
dotnet/runtime#101261
dotnet/runtime#101499
dotnet/runtime#101457xtqqczze 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 Ilya (@iSazonov) in #24617 (comment)
There was a problem hiding this comment.
dotnet/runtime#101499 is labelled needs-breaking-change-doc-created
There was a problem hiding this comment.
Started discussion: dotnet/runtime#110216
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
It seems like the issue is with Microsoft.Extensions.Primitives.StringValues
There was a problem hiding this comment.
The issue is a breaking change, resolution is by updating code, e.g. dotnet/aspnetcore@7e353a3
There was a problem hiding this comment.
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]
There was a problem hiding this comment.
The issue is a breaking change, resolution is by updating code, e.g. dotnet/aspnetcore@7e353a3
Ilya (@iSazonov) This is a confirmed breaking change in .NET 9, see dotnet/docs#44102 (comment).
89f018c to
f5c2f50
Compare
f475ef6 to
97918ac
Compare
|
Ilya (@iSazonov) can you please review? |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
LangVersion compiler option to 13.0LangVersion compiler option to 13.0 in Test.Common.props
|
📣 Hey xtqqczze, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
Close #24622
test/Test.Common.props