Bug #1080

cpp: this dosen't show private variable

Added by Zbigniew Rebacz about 5 years ago. Updated almost 5 years ago.

Status:ApprovedStart date:05/16/2015
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:IDESpent time:-
Target version:Release 2017.1

Description

Sometimes I need to use this to get class variable, but assist dosen't show private variables.

Example:

void Jdk::SetPath(const String& path)
{
   this->path = path;
}

P.S.
Code is fully c++ compatible.

History

#1 Updated by Miroslav Fidler about 5 years ago

Please, specify whether this is about new parser (or old one).

#2 Updated by Zbigniew Rebacz about 5 years ago

For both: new and old. I haven't reported it before, because it is cossmetics issue.

#3 Updated by Zbigniew Rebacz about 5 years ago

  • Status changed from New to Approved

#4 Updated by Zbigniew Rebacz about 5 years ago

  • Category set to IDE
  • Status changed from Approved to In Progress
  • Assignee set to Miroslav Fidler

It seems that private/protected variables don't work (Only public works).

#5 Updated by Zbigniew Rebacz almost 5 years ago

  • Target version set to Release 2017.1

#6 Updated by Zbigniew Rebacz almost 5 years ago

I always use this-> with private variables.

#7 Updated by Miroslav Fidler almost 5 years ago

  • Status changed from In Progress to Approved

Also available in: Atom PDF