Closed leolorenzoluis closed 2 years ago
Thanks for reporting this issue (and the associated one in FSAC). We may need to investigate an alternative implementation for our symbol cache, or look at removing the concept now that the compiler services have some additional APIs for us to use for the areas we introduced the symbol cache for.
Also as a workaround, you can set "FSharp.enableBackgroundServices": false
in your workspace settings to disable the background services, which is our only use of the sqlite library that's erroring.
@baronfel Disabling the background services just hides the error. It still doesn't work properly with find all references, so I'm guessing this is a different bug somewhere not related to symbol cache?
Finding references should be fixed in 7.0.0
Describe the bug
Not sure if its M1 related but this is the only thing I can think of that is different between my laptops. Find all references works fine in an intel laptop, but with M1 find references is broken. It only finds references within its function scope. All my dotnet, ionide, etc versions are all the same.
It's able to find the declaration, but when it goes to the declaration and I try to find references, then it doesn't find it.
Steps to reproduce
Link to sample reproduction
https://github.com/Dzoukr/Yobo
Expected behaviour
Same results as Intel based
Screenshots
This is the output from F#
Machine info
Additional context
Add any other context about the problem here.