Open tcNickolas opened 3 years ago
This is tricky without repro steps - I haven't seen this, but something similar is a known issue when target packages are used. You are not using target packages, are you?
I'm using regular kata projects, and I get this behavior on multiple ones - just opened the TruthTables kata from a fresh repository clone (so no old builds of mismatched versions hanging around) and I'm getting this again.
On Thu, Nov 18, 2021 at 6:18 PM bettinaheim @.***> wrote:
This is tricky without repro steps - I haven't seen this, but something similar is a known issue when target packages are used. You are not using target packages, are you?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/qsharp-compiler/issues/1256#issuecomment-973665797, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNFAADFD37OFBVEHPXYXBTUMWXW5ANCNFSM5H5SNEVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Describe the bug
When I open a project in VS 2019, IntelliSense often errorneously underlines all callables with red squiggles, claiming "QS6001 A function or operation already exists". The build passes (correctly), since these callables are defined only once.
To Reproduce
I cannot pinpoint what exactly causes this; it often happens if I've worked with this project before, and deleting bin and obj folders before restarting VS sometimes helps, but right now I'm looking at a restarted VS for which it didn't. QDK version in the project not matching extension version might factor in
Expected behavior
IntelliSense only reporting callables that are indeed duplicates.
System information