- Notifications
You must be signed in to change notification settings - Fork5.2k
Reapply keywordparams#101499
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
Reapply keywordparams#101499
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedApr 24, 2024
Note regarding the |
stephentoub commentedApr 24, 2024
We won't be able to merge this until the C# compiler is updated to guard overload resolution with params span on LangVersion. |
stephentoub commentedMay 15, 2024
/azp run |
| You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
stephentoub commentedMay 22, 2024
@jozkee, why did you mark this as breaking? What is breaking about it? |
jozkee commentedMay 22, 2024
source breaking? |
stephentoub commentedMay 22, 2024
Can you elaborate? |
jozkee commentedMay 22, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There's a case where a collection expression can't resolve between Additionally, do we not want to document cases of types with conditions similar to StringValues? |
cston commentedMay 22, 2024
Currently, thebetter conversion rules for collection expressions treat this case as ambiguous. Perhaps there should be an additional rule to prefer |
stephentoub commentedMay 22, 2024
I thought that was part of the first-class span support. Is it not,@333fred? |
cston commentedMay 22, 2024
Unfortunately, implicit conversions from first-class span support may not be sufficient for a collection expression argument since implicit conversions are only considered inbetter conversion when the types arenot span types.
|
Co-authored-by: Stephen Toub <stoub@microsoft.com>
cston commentedJun 7, 2024
This is tracked bydotnet/roslyn#73857. |
jozkee commentedSep 27, 2024
Note for breaking change doc: If this ship as is, it should be pointed out that |
Uh oh!
There was an error while loading.Please reload this page.
Closes#101261.
Closes#77873.
Continuation of#101308.