Skip to content

Goto declaration problem #12

@eranif

Description

@eranif

Code:

01 class pippo
02 {
03 public:
04 pippo();
05 pippo(int a){m_c = a;};
06 pippo(char pp){m_c = 0;};
07 clear(){m_c = 0;};
08 private:
09 int m_c;
10 };
11
12 pippo objNone("hello");
13 pippo objOk;
14
15 int main(int argc, char *argv)
16 {
17 objNone.clear();
18 objOk.pippo(NULL);
19
20 return 0;
21 }

If I position the caret on the "objOk" then "Goto Declaration", the caret goto line 13 ("pippo objOk").
If I position the caret on the "objNone" then "Goto Declaration" don't work. The problem seems to be the object declaration (string in costructor).
best regards,
Generoso

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions