Abel Braaksma

Results 497 comments of Abel Braaksma

Edit, I may misunderstand the scoping here, as this seems to work ~properly~ well, it works, not sure of "properly": ```f# let _ = let x = 1 in x...

_(partial copy of relevant bits of my [comment](https://github.com/dotnet/fsharp/issues/17282#issuecomment-2152095766))_ I think this is a reasonable suggestion. It appears to have been suggested in the F# 4 days, but not the whole...

_(updated the issue to match the issue template, which got lost in moving the issue over, feel free to edit further, @Thorium)_

@kerams, thanks. There's also this 100-message long discussion with @kspeakman with the [conclusion here](https://fsharp.slack.com/archives/C1R50TKEU/p1668975228241939?thread_ts=1668418259.380439&cid=C1R50TKEU) (remains available for a month or so), related to [this code ](https://github.com/XeSoft/SlimSql/blob/master/SlimSql.Postgres/Sql.fs) that should be possible...

I don't think this should become a language suggestion (@0101 marking this `Needs RFC`). As @T-Gro's comments go, there's not really a feasible way to force-evaluate anything that goes into...

@T-Gro, yes. Keep in mind that `module` in ECMA-335 is not the same as `module` in F#, but still, I think it is a viable way for allowing ways to...

@dsyme, I checked the language spec, this is what we say: ## Compiler directives: ![image](https://user-images.githubusercontent.com/16015770/29853804-49d9e8f4-8d42-11e7-92ea-0925af2fdca3.png) ## Conditional compilation, called _lexical preprocessing directives_ ![image](https://user-images.githubusercontent.com/16015770/29853852-88a1afd6-8d42-11e7-98a6-b2ffcfe65bfd.png) ## Line directives ![image](https://user-images.githubusercontent.com/16015770/29853898-d88b82ce-8d42-11e7-9a29-9989f88234c5.png) ## Lightweight syntax...

Self-assigning this, as I want to go over some preprocessor directives suggestions/proposals and this should be improved as well.

Looking at the actual C# spec for this is, it's unclear to be whether the attribute declaration is part of the **program text** of the type: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/basic-concepts#declared-accessibility. The spec is...

Bug in C# spec reported: https://github.com/dotnet/csharplang/discussions/3948. Looking a bit deeper into this makes it all rather fuzzy (protected member is disallowed, protected const member is not...), would be nice if...