[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 200057] New: code completion does not work with inherited
From: Armin Berres <trigger () space-based ! de>
Date: 2009-07-13 16:18:01
Message-ID: bug-200057-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=200057
Summary: code completion does not work with inherited templates
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: trigger@space-based.de
Version: svn995594 (using KDE 4.2.96)
Installed from: Compiled From Sources
Consider the following code:
####################################################################################
template <class T> class Array
{
public:
void size() {}
};
template <class T> class NamedArray : public Array<T>
{
public:
void test()
{
this->size();
}
};
####################################################################################
Kdevelop is not aware that this->size() is a member of the class Array and
underlines the call red.
One interesting thing is, that inheriting from "Array<int>" instead of
"Array<T>" makes Kdevelop happy.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic