fsharp
fsharp copied to clipboard
FS3559 raised with PrintfFormat
Repro steps
Giraffe endpoint definition with PrintfFormat:
Expected behavior
No warning.
Actual behavior
FS3559.
Known workarounds
None.
Related information
VSIX build from 9e357ca5f82f5e800b259cbda7d91507b41d2e9a
Does adding type annotations fix the problem? Why do you think this warning is unexpected here?
Because I am not using objects anywhere. The fact that PrintfFormat has a bunch of type parameters is an implementation detail (formats are an intrinsic), so I don't see why I should be warned if some of them are inferred to be obj.