Petr Onderka
Petr Onderka
@PawelGerr I believe that's caused by https://github.com/dotnet/roslyn/pull/58059, which says: > This is technically a breaking change, but the only thing it breaks is invalid code, so I think we should...
@gafter How do type classes let you convert a lambda (including its closure) to a struct?
@CyrusNajmabadi > The normal string-switch works by building a dictionary and switching on that. That likely wouldn't work for ReadOnlySpans. Why not? [As far as I can tell](https://sharplab.io/#v2:C4LglgNgPgAgTAAgMIFgBQBvdCcJgFgQFkAKGARgAYEBnASm1yzV1doHcxgBjACwRL1GbBMxEjuAQxoBTBACJJ8kMPE4pshQCNlqtRrnzuulmtwGFAExNnz0wzJu2EF+QDMnt1wHNPznFoATjKSANYA3Hq4AL6qsWjRQA===), it doesn't...
@CyrusNajmabadi Isn't that off-topic in this issue? Maybe it would make sense to create a new issue about that in the roslyn repo?
@Sour-Codes The recommended way to enable preview features is to do it for the whole assembly by adding `true` to your csproj.
@HaloFour > It would seem that a computer-readable format would be better suited to that task than some other arbitrary format. You can have a format that's both human-readable and...
@dsaf > Wouldn't C# become a graveyard of dead markup/transport languages? We barely dodged the JSON bullet. If C# had JSON support and JSON was replaced with something new, then...
@333fred Since anonymous types can't be exposed publicly, why would that be a problem?
One thing to consider regarding resolution by type: would it make sense to forbid implicit parameters of "primitive" types like `int` and `string`? For a type with well-defined meaning like...
> Ban implicit parameters on value types (that solves `int`, but not `string`) That wouldn't work, `CancellationToken` is a value type. > My sense is that we won't prevent people...