fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

Transparent Compiler: discrepancy between signatures and source files not reported in diagnostics

Open majocha opened this issue 1 year ago • 4 comments

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 get the errors, even then the errors are only in the build output, and never show up in VS Error List.

I'm testing current main with Transparent Compiler enabled.

majocha avatar Jan 25 '24 14:01 majocha

Do you have a repro project? Because they show up for me.

image

0101 avatar Jan 25 '24 14:01 0101

Yes, on this branch: ct-experiment when I open BuildGraph.fs.

majocha avatar Jan 25 '24 15:01 majocha

I did something crazy in the code that causes this. But Switching the Transparent Compiler off causes the diagnostics to show up: image

majocha avatar Jan 25 '24 15:01 majocha

Yeah I can reproduce it there. Will try to figure out what's happening.

0101 avatar Jan 25 '24 16:01 0101