Skip to content

Go to Definition fails to go to the class for no arg default constructors #4162

@sean-mcmanus

Description

@sean-mcmanus

Go to Def fails on the "new foo2()" in code:

class foo2
{
    int i;
};

int func()
{
    foo2 * f = new foo2();
}

It works in VS (goes to class foo2). Find All References work though. It also works if you remove the ().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Go to DefinitionAn issue related to Go to Definition/Declaration.Language ServiceWorks in VSSo we'd need to fix it for VS Code to reach parity.bugfixedCheck the Milestone for the release in which the fix is or will be available.quick fix

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions