-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal error: multiple methods appear with identical argument types #17796
Comments
It might be caused by #16168 as well |
Referenced public static IServiceCollection AddSingleton<TService>(this IServiceCollection services)
public static IServiceCollection AddSingleton<TService, TImplementation>(this IServiceCollection services) I think issue localized in this change from #17597 which triggers additional call of I managed to build the |
This makes sense Alex @DedSec256 , thanks. I will adjust that change. |
@T-Gro hello, could you tell how can check the fix? In RC2 I get something like this |
Yes, RC2 has this error. |
I'm having similar error after updating to latest VS2022 Prerelease v5, 9.0.100-rc.2.24474.11 Edit: @xperiandri pointed out that having a global.json to hard-code a previous version does help. |
Please provide a succinct description of the issue.
Repro steps
Provide the steps required to reproduce the problem:
lsp
branchbuild.cmd -c Debug
or just buildFSharp.Compiler.LanguageServer
projectExpected behavior
Build completes successfully
Actual behavior
We get
Related information
Here's the code that triggers the error:
fsharp/src/FSharp.Compiler.LanguageServer/FSharpLanguageServer.fs
Lines 46 to 59 in c1486be
The text was updated successfully, but these errors were encountered: