Abel Braaksma

Results 495 comments of Abel Braaksma

The answer by @333fred (https://github.com/dotnet/csharplang/discussions/3948#discussioncomment-85803) suggests that this only works "by chance" in the C# compiler. More specifically, the protected const in the OP should not be accessible outside its...

Should we run this through the `fsharp-suggestions` repo and/or RFC it? It's quite a big change, after all. I think it's good, though. We should move on :).

Just checked with latest builds, but this still happens. Rebuild is still necessary. Seen in Visual Studio 15.6.

Behavior has changed again. Right now (in VS 2022 Community, Version 17.8.6), if the build action is set to `None`, it will still syntax-color the file. It also appears to...

@brianrourkeboll, they already are allowed (it's just that `FS` is explicitly disallowed, no idea why). However, they don't work: the IDE warnings are, unfortunately, currently not suppressed in F#. ![image](https://github.com/fsharp/fslang-suggestions/assets/16015770/f641352e-67df-4866-b560-63172dc92619)...

@smoothdeveloper, good point, but the multiline feature is already allowed for `#nowarn`. I didn't know that. Another reason to formalize the ABNF (or whatchamacallit) for this, as this is not...

@dsyme there seems to be some consensus here and @KevinRansom already worked on an implementation. This does not change existing behavior of anything, only allows a little more syntax with...

Works like a charm (in `main`)! ![image](https://github.com/fsharp/fslang-suggestions/assets/16015770/3ab3f739-9d03-45ba-84fa-71d548525889)

Well, the example is just that, an example. Certainly there are other ways of writing that particular code. What I’m looking for is arguments to a total (exhaustive) pattern. Maybe...

Tx @dsyme! I’ll work on an RFC. I think the main thing to decide upon will be whether a single argument should be provided (that is, only the first of...