Julien Couvreur

Results 152 comments of Julien Couvreur

Assigned to @RikkiGibson to confirm the issue and clarify the proposal. Bring to the team for discussion and we can re-prioritize/re-assign then. Thanks

Opened championed issue #1394 and implemented the change (https://github.com/dotnet/roslyn/pull/25562). I'll raise with LDM to see if we could take this change for C# 7.3.

That change didn't make it into C# 7.3, but is ready to merge, so should be in C# 8.0.

Relates to https://github.com/dotnet/csharplang/issues/111 ("Discard for lambda parameters (_, _) =>").

Tagging @CyrusNajmabadi in case he wants to champion this

Tagging @VSadov @OmarTawfik for thoughts.

FYI @MadsTorgersen, @BillWagner

FWIW, we have three cases in the [implementation](https://github.com/dotnet/roslyn/blob/main/src/Compilers/CSharp/Portable/Generated/CSharp.Generated.g4) (see antlr snippet below) and the parser deals with some expression-or-pattern ambiguity (see `ParseExpressionOrPatternForSwitchStatementCore`): ``` switch_label : case_pattern_switch_label | case_switch_label | default_switch_label...

Assigned to @sharwell since he seems to be working on a fix. Thanks