Skip to content

Doc comments are being shown for declarations (not in the TU) instead of the definition (in the TU) #3596

@sean-mcmanus

Description

@sean-mcmanus

Use code
test.cpp

// good
void func(){}

bad.h
// bad
void func();

Bug: Hover for "func" in test.cpp shows "bad" incorrectly. VS doesn't repro the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Doc commentsAn issue related to code comments shown in hover, completion, and signature help.Language ServicebugfixedCheck 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