Bug #1080
cpp: this dosen't show private variable
Status: | Approved | Start date: | 05/16/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | IDE | Spent 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 over 9 years ago
Please, specify whether this is about new parser (or old one).
#2 Updated by Zbigniew Rebacz over 9 years ago
For both: new and old. I haven't reported it before, because it is cossmetics issue.
#3 Updated by Zbigniew Rebacz over 9 years ago
- Status changed from New to Approved
#4 Updated by Zbigniew Rebacz over 9 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 9 years ago
- Target version set to Release 2017.1
#6 Updated by Zbigniew Rebacz almost 9 years ago
I always use this-> with private variables.
#7 Updated by Miroslav Fidler almost 9 years ago
- Status changed from In Progress to Approved