fsprojects / fsharp-language-server

Other
219 stars 37 forks source link

Wrong type of function #34

Closed hansemandse closed 5 years ago

hansemandse commented 5 years ago

Issue Type: Bug

Try writing the function shown in the screenshot. When defining it, the language server infers a different (and wrong) type than the one displayed above the function.

Extension version: 0.1.19 VS Code version: Code 1.30.0 (c6e592b2b5770e40a98cb9c2715a8ef89aec3d74, 2018-12-11T22:29:11.253Z) OS version: Windows_NT x64 10.0.17134

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Memory (System)|7.85GB (2.77GB free)| |Process Argv|| |Screen Reader|no| |VM|50%|
codebug
georgewfraser commented 5 years ago

I think you are using Ionide. F#LS doesn't show those types above the function.