-
Notifications
You must be signed in to change notification settings - Fork 57
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
Go to definition on any Seq function goes to prim-types.fs instead of seq.fs #97
Comments
@NinoFloris Could add more details like the solution used for a complete repro, please? |
let foo =
Seq.singleton 1 // <-- go to definition Sorry @auduchinok but this one seems obvious. |
@NinoFloris Sorry, even though it could seem that way, looking at the initial comment only, it might be possible that you were talking about navigation inside a compiler solution (like FSharp.sln, FSharp.Compiler.Service.sln, or others), and there might have been some behaviour differences due to some of them referencing FSharp.Core as a package/assembly reference and some referencing it as a project reference. If this is the case, the solution info and a project to navigate from would still actually help to reproduce the exact problem. The second comment suggests it could be some non-compiler solution and I've checked it on a random file in Fantomas.sln and it seemed to be using SourceLink info which is something I haven't seen working previously (though, I haven't checked it for a while). In my case it suggested both files and at least one of them was what you were expecting. I'll need to check if the problem is actually on our side and not something encoded wrongly somewhere else, presumably in SourceLink. |
Alright makes, sense I'll try to add some more info next time :) I really only get a direct go to definition into prim-types, no dropdown. This is on EAP 2 |
This is still the case in 2021.2 in a regular net5.0 tfm console app. Doesn't matter if you click on Seq or singleton. |
Did this get fixed? I can't repro it anymore 🎉 finally going straight to seq.fs (though this is on the dev build you gave me, I'll wait for EAP 7 to reconfirm before I close it) |
The cases above are still working great. There are some cases left though like going to definition for Similarly trying to go to def for |
Go to definition on any Seq function goes to prim-types.fs instead of seq.fs
¯\(ツ)/¯
The text was updated successfully, but these errors were encountered: