Open jcmrva opened 11 months ago
I'm guessing this is because HttpHandler
and HttpFunc
are aliases.
Looks to be failing here. Since this error is coming in the compiler itself, this might be something that has to bubble up the F# repo unless we're using it wrong. cc @vzarytovskii
Good call, I'm able to repro here:
type StringChange = string -> string
let makeEmpty : StringChange =
fun _ -> ""
Describe the bug
Tooltip sometimes does not appear, accompanied by errors in the output. It may be a coincidence, but I only see it on Giraffe's
HttpHandler
,HttpFunc
, etc.This part stood out:
"Position": {"Line": 29, "Character": 23, "$type": "Position"}
In that example,
HttpHandler
is at line 30, cols 22-33.Code navigation also seems to fail (initially) with
[10:10:14.892 WRN] [ParseAndCheckResults] Got a declresult of (28,9--28,20) that doesn't exist
but after 30 seconds or so, the source panel appeared.Steps to reproduce
Try getting tooltips in your own Giraffe project?
Expected behaviour
Tooltip appears as normal.
Machine info