Author Topic: CodeCompletion: inherit bug?  (Read 6531 times)

Offline gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
CodeCompletion: inherit bug?
« on: April 28, 2013, 05:38:15 am »
//father
class A
{
    public:
       char a;
};
//son
class B
{
    public:
       char b;
}

int main()
{
    B x;
    x.b = 12;
    x.A::a = 45; //Couldn't Complete it ".A::a"

    return 0
}

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: CodeCompletion: inherit bug?
« Reply #1 on: April 28, 2013, 05:48:43 am »
It should be "class B : public A", but I suppose this advanced syntax is not supported anyway.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]