namespace ns {

class C {
    void f( // when typing the ( the calltip says "ns::C::f (junk, rubbish)"
public:
    C(junk, rubbish){}
    ~C(){}
};

};

Yep, takes the parameters for the constructor and it uses that as the prototype for the new function that doesn't exist yet.

And ... if there happen to be other functions named f the calltips will cycle through the prototypes of those functions and never come back to the erroneous one.

Seems like some extraneous function definition is being made for the calltip. But it never appears in the symbol list. Like as if something is scanning for the ) and using the parameter list immediately before it, ignoring the public: C(. But what, its not the parser because the symbol doesn't show in the sidebar?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.