Bernd Baumanns

Results 57 comments of Bernd Baumanns

It would be great to have a button with "default compiler options" for all the compilers like /std=c++17... But I would add no magic flags / compiler arguments (it should...

A simpler version (makes use of spilling with general is pattern): ```csharp string str = "a2"; int x = 1; int y = 2; ref int r = ref str...

And a version with ref readonly: ```csharp using System; string str = "a2"; int x = 1; int y = 2; ref readonly var xx = ref x; ref readonly...

Maybe the method could be chaned to (do the filtering only if not specified explicitly): ```csharp private async Task AppendKeyToFile() { var client = this.CreateClient(); string file = this.GetKeytabFile(); KeyTable...

We should may add a test for the concrete issue, too. I just created one for the root issue. (the test-project seems to have no ref assembly to Net9.0)

Oh, then it becomes a breaking change to existing code. But this is wanted???

I see - then we would need to fix the lowering (and use an array).

> We probably don't want to change the lowering in this fashion either. I wouldn't like to change the lowering code for interpolated string, too. We could simply dissallow such...

In general you are absolutely right. I mean the spefific Span lowering via inline array. Inline Array structs are already default initialized after construction. So these assignments are noops which...

Right, then it can't be optimized out. The result should be the same.