-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Params Collections: Implement language version check. #71228
Params Collections: Implement language version check. #71228
Conversation
@RikkiGibson, @333fred, @dotnet/roslyn-compiler Please review. This is a fairly small change |
var src1 = @" | ||
public class Params | ||
{ | ||
static public void Test1(params System.ReadOnlySpan<long> a) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we carry params-ness through to delegate natural types? Consider adding some variants of this test for delegate conversions as well, even if we don't, just to verify that behavior. #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we carry params-ness through to delegate natural types?
At the moment this is done only for arrays. Expanding the behavior to other types is on my list to do.
Consider adding some variants of this test for delegate conversions as well,
I prefer to do that once "carry-over" part is implemented. But this is definitely a good scenario to cover.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment this is done only for arrays. Expanding the behavior to other types is on my list to do.
Gotcha, thanks.
@RikkiGibson, @dotnet/roslyn-compiler For the second review. This is a fairly small change |
60a4581
into
dotnet:features/ParamsCollections
No description provided.