dotnet / dotnet/fsharp

`FSharpCheckFileResults.GetMethodsAsSymbols` doesn't provide all overloads

Open
#17,876 0 comments 0 reactions 0 assignees View on GitHub
Area-Compiler-Service Bug Impact-Medium
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

Consider the following console app that references `Selenium.WebDriver` package:
```fsharp
open System
open OpenQA.Selenium.Safari

let driver = new SafariDriver()

let url = Uri("")
let str = ""

driver.Navigate().GoToUrl(url)
driver.Navigate().GoToUrl(str)

let navigation = driver.Navigate()
navigation.GoToUrl(url)
```

'Parameter Info' popup (which uses `checkResults.GetMethodsAsSymbols` from FCS) is missing overloads when invoked on `driver.Navigate().GoToUrl`. When using the `Uri` overload, the `string` one is missing:

The same happens in the other direction:

However, if `driver.Navigate` is moved to a binding, it works as expected:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.