Neal Gafter
Neal Gafter
/cc @agocke @MadsTorgersen
Anything you can do with a type pattern you would have been able to do before by adding an underscore after the type. There really is not anything more to...
User-written macros can already report errors in expressions using source location information, but only with as much resolution as is already recorded in the `Expr` nodes. It's a bit awkward...
@nystrom I'm sorry I didn't notice this issue until today. I'll have a look.
Possible strategy: Categorize it as an array creation expression in the grammar.
@jnm2 Yes, and the proposed solution piggy-backs on such text already in the standard: > Primary expressions are divided between *array_creation_expression*s and *primary_no_array_creation_expression*s. Treating *array_creation_expression* in this way, rather than...
I don't think so. This is still an issue, and worse than before. #1322 has been merged, but in https://github.com/dotnet/csharpstandard/blob/draft-v8/standard/grammar.md we have the following: ```antlr primary_expression : stackalloc_expression | element_access...
@Joe4evr Not quite ``` c# public interface I1 { int M(); } public interface I2 : I1 { int I1.M() => 42; } public interface I3 : I2 { }...
There is a thread starting at https://github.com/dotnet/csharplang/issues/406#issuecomment-495905388 with some users noting how they would really like to use this functionality. I'm posting this here in case it is useful in...
There is a draft specification for `base(T)` at https://github.com/dotnet/csharplang/issues/2910