Skip to content

IntelliSense-based Go to Declaration failed in this case #2743

@lh123

Description

@lh123

Type: LanguageService

  • C/C++ Extension Version: 0.20.0

1. Incorrect

void insert(int a) {
}

int main() {
    insert(0);//  IntelliSense-based Go to Declaration give incorrect result in here.
}

2. Correct

void insert(int a);

int main() {
    insert(0);//  IntelliSense-based Go to Declaration give correct result in here.
}

void insert(int a) {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.quick fixregressionA bug that didn't exist in a previous release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions