New Contributor with some questions #52473
-
SummaryHello! I want to start contributing to Roslyn. I began by trying to implement csharplang issue 338, which is to allow ref-kind parameters in lambdas with implicit parameter types. I have it working, but I have a small army of questions whose answers I wasn't able to find in the docs. Any help or redirection to appropriate documentation would be appreciated. Questions
Another IssueI'm having some intermittently failing tests, but I don't think it's my code since they also intermittently fail for me on a fresh checkout of dotnet/roslyn/main. If anyone has any idea what is going on, I'd love to know. Otherwise, I'd settle for some sort of indication that it's ok to submit my pr despite these tests. Here is the data I have gathered about these failures:
ConclusionPinging @CyrusNajmabadi since he championed this issue. As mentioned, this is my first contribution to roslyn, so I'm very open to feedback of any type, whether or not it addresses any of my explicit questions. The things I most need to know are probably the things I don't even know to ask about! You can review my changes so far here. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
To cover a few points here, feel free to submit a draft PR using GitHub's draft PR feature as a way to run all CI jobs, and you can start by submitting that to main. Even within our team we'll often submit draft PRs if we're unsure if our own changes are breaking something since that's easier than trying to run everything locally, so there's no shame in submitting a draft PR with broken tests. |
Beta Was this translation helpful? Give feedback.
-
I would refer you to @alrz's PR that adds a language feature: #52139. It references the proposal and spec from dotnet/csharplang as well as a github issue on dotnet/roslyn outlining the test plan. In general, you do not need to link to github issues in tests unless you are fixing a bug and we may want more context on what the original scenario was. |
Beta Was this translation helpful? Give feedback.
-
I will also say that, for language implementations, please let us know ahead of time that you are interested in making changes. Currently, we're at our limit with the number of community language contributions in progress, and we don't have time to review another contribution at the moment. @jaredpar might be able to comment as to when we'd be able to look at something like this, but in particular it will conflict with the other ongoing lambda changes that are being done for C# 10. |
Beta Was this translation helpful? Give feedback.
I would refer you to @alrz's PR that adds a language feature: #52139. It references the proposal and spec from dotnet/csharplang as well as a github issue on dotnet/roslyn outlining the test plan. In general, you do not need to link to github issues in tests unless you are fixing a bug and we may want more context on what the original scenario was.