fsharp-language-server icon indicating copy to clipboard operation
fsharp-language-server copied to clipboard

funtion signatures do not show praramter names for functions contained inside types

Open faldor20 opened this issue 3 years ago • 2 comments

eg

type a=
   let testfunc testparam:int = 
        testparam+1

The tool tip will just show testfunc: int->int

faldor20 avatar Nov 20 '21 05:11 faldor20

Would this be somewhat related to the pipelines not having type signatures?

Example:

    let validateMagicLink (ml: MagicLink) =

        validateEmail ml
        |> Result.bind validateDomain
        |> Result.bind validateFirstName
        |> Result.bind validateAcceptedTermsAndConditions
        |> Result.bind validateAcceptedGDPRTerms
        |> Result.bind validateAcceptedCookiePolicy

l1x avatar Feb 04 '22 20:02 l1x

I believe Ionide and fsac uses some rather fancy code to extract and assemble their type signature info for pipelines. I think it's unrelated though.

faldor20 avatar Feb 06 '22 05:02 faldor20