[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 242660] New: QHashIterator mixes up code completion for key and
From: Vishesh Handa <handa.vish () gmail ! com>
Date: 2010-06-24 7:25:12
Message-ID: bug-242660-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=242660
Summary: QHashIterator mixes up code completion for key and
value
Product: kdevelop
Version: SVN
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: code completion
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: handa.vish@gmail.com
Version: SVN (using KDE 4.4.4)
OS: Linux
When using a QHashIterator to iterate over a hash, the code completion is mixed
up.
Eg -
QHashIterator<QString, int> it( hash );
it.key() // code completion says the return type is int, when it should be
QString
it.value() // code completion says the return type is QString, when it should
be int
Reproducible: Always
Steps to Reproduce:
Type -
QHashIterator<QString, int> it( hash );
it.key() // code completion says the return type is int, when it should be
string
it.value() // code completion says the return type is QString, when it should
be int
Expected Results:
it.key() should have returned QString, and vice versa
--
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