Jakub Majocha

Results 28 issues of Jakub Majocha

So, NodeCode will pass or flow threadstatics through thread switches by means of `wrapThreadStaticInfo`. However, when we fall back to normal async, by e.g. `NodeCode.AwaitAsync` we're on our own. Let's...

## Description There was some odd behavior I noticed while trying to test AsyncLocal diagnostics state. `UseDiagnosticsLogger` creates a diagnostics scope and should restore previous logger on dispose. This should...

A draft just to try if it works.

It looks like any call to `NodeCode.AwaitAsync` (there are many in Transparent Compiler) is at risk of getting wrong threadstatics? I've seen some randomness of that kind in #16701. Mostly...

This supersedes or follows up on #16602 Introduction of Transparent Compiler revealed some instability w.r.t. `DiagnosticsThreadStatics`: https://github.com/dotnet/fsharp/pull/16576#issuecomment-1910321553 #16576 #16589 Turns out we used `[]` to keep a compilation-global `DiagnosticsLogger`, and...

Basically, diagnostics for not implemented stuff in signatures (FS0193) don't show up. Not when you edit the implementation, and not in the background solution analysis. You need to build to...

Bug
Impact-Low
Transparent-Compiler

This utilizes changes from #16533 The idea is to never cancel a job that is awaited by someone. Basically cancelling a `Get` does not cancel the cached computation if there...

Issue created from [fantomas-online](https://fsprojects.github.io/fantomas-tools/#/fantomas/main?data=N4KABGBEDGD2AmBTSAuKBLAZmALgJwFdFcALRAOzAAYAdPG8xAGwGdE6GBiLMAMQHl%2BHShDA9MAQ1bEcZSgEZhosMzbDOFeFiXLRAJmGQANOChscOdOQDmLVGADapiKF1QAJDgCeAB2RpIKxxjZ1FIdwA3KSJ7JzcIKhN4qABJciRyHABldAAvZCT4gBZQiABdUIBfQpdSj28-e0DMkLdwqKYYtDj4%2BRrdSABZCQAPABkrRDGKa1lW3r0qOorlatDXAc9ffyhNfkwJxizvJgK69uidnrc9fuVIAFF0-cOz5MgmTEhlqv6N%2B62jQCACNYLAmPMAR0uo46hAAMx3MJpNh4HC8KxSAByiAA7kxJpDdPgiD9Vn9zoCdpBQeCiRALp0rnCwEUkQysj4JNBEAAhRCYWB4RAABQkeAkAFtEDhEHh6aISYgyaI1sp-mEqU1aRCkYyYdddABWd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P5qCGFNzYDSDIcGanr92LUKmPxl7IsvPuJo%2ByOifOC5A34RBtDYFeu48AzysPPHqa94ifk7sXXexNyqHwgHoMGAsYboFeGMKUwJ4ASA7LAbqNhh6qw-oefKYV5axwvL3MumCWTwjAu8Jucp9IUFfkwAA0ogRAPhn58LSLyCUl8mYshQV-cyP8gy7X-qwnW8R4T83iJAXknZyAAGtXgsHUppdIOI%2ByIChvg1WTdOrdV7EZUk8itpoLYhgtRbh4T6y0bycUpFEDaVNtAPA%2BlMSyngMmOeHpdLQE7BKBetCTIbXZkXd2TQlaw0YJI7keiZTHC8KcNx3tlDwj9lo82GS%2BQSmgDk7IJw3haKCVKPw8BvhOOekowmpd97l2SPCZOWihEiOcuLGB%2BwdESH0YYgsj02mKKnCNFR3S2G9Krlo44wSByDAQPUtwcj6F%2BlMGUQogQWC8G6vYFBlQgA) #### Code ```fsharp if true then 0 else #if FOO if false then 1 else #endif 2 ``` #### Result ```fsharp if true then 0 else...

bug (soundness)

I did some experiments to resolve #44 and thought I might as well make a PR out of it. This adds [Visual Studio Community Toolkit](https://learn.microsoft.com/en-us/visualstudio/extensibility/vsix/visual-studio-community-toolkit?view=vs-2022) as dependency. See also: [https://www.vsixcookbook.com/](https://www.vsixcookbook.com)...

I have a folder with .fsx scripts. When I open it in Visual Studio 2022, formatting doesn't work, because the package is not loaded. It waits indefinitely for `FantomasVsPackage.Instance` here:...