Skip to content
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 type definition get unexpected behavior on pointer #8337

Closed
cloud-yu opened this issue Oct 28, 2021 · 2 comments
Closed

go to type definition get unexpected behavior on pointer #8337

cloud-yu opened this issue Oct 28, 2021 · 2 comments
Assignees
Labels
bug Feature: Go to Definition An issue related to Go to Definition/Declaration. fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix

Comments

@cloud-yu
Copy link

Bug type: Language Service

Describe the bug

  • OS and Version: ubuntu 20.04 for wsl2
  • VS Code Version: 1.61.2
  • C/C++ Extension Version: v1.7.1

Expected behavior
go to type definition on pointers should find type definition by "variable type" not by "variable name"

here comes the e.g.
go to type def on pre --> comes LINKED member, with the same "variable name"
go to type def on curpos --> got null.

both were expected to jump to NODE
Screenshots
11

@sean-mcmanus sean-mcmanus self-assigned this Nov 1, 2021
@sean-mcmanus sean-mcmanus added this to the 1.8.0-insiders milestone Nov 1, 2021
@sean-mcmanus sean-mcmanus added bug Feature: Go to Definition An issue related to Go to Definition/Declaration. quick fix fixed Check the Milestone for the release in which the fix is or will be available. labels Nov 1, 2021
@sean-mcmanus
Copy link
Collaborator

Thanks for reporting this. It should be fixed in our next release.

@sean-mcmanus
Copy link
Collaborator

@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Feature: Go to Definition An issue related to Go to Definition/Declaration. fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Projects
None yet
Development

No branches or pull requests

3 participants