Closed Smaug123 closed 11 months ago
Hi Patrick,
Interesting find, I'm not quite sure but at first glance, I would expect the type-checking of the project to go wrong. Did you restore (and/or build) the project before running the analyzers?
Ah, running a build of the project to be analysed does appear to consistently fix the problem, thanks. I was confused by the fact that a source build of fsharp-analyzers
doesn't exhibit the failure, but also doesn't pick up any analysis failures until I do a manual rebuild.
Here's the complete log of a failed run, which happens consistently in my pipeline:
The pipeline I linked uses Nix to obtain the global tool, but the log above is from a branch with mere
dotnet tool restore && dotnet fsharp-analyzers
(complete failing run).I have been intermittently able to reproduce this locally, but never with a source build of
fsharp-analyzers
.