Review Request: Proper auto-completion in switch statements

Olivier Jean de Gaalon olivier.jg at gmail.com
Tue Jul 3 06:40:40 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105410/#review15323
-----------------------------------------------------------


Could you add the test case to languages/cpp/tests/test_cppcodecompletion.cpp?

- Olivier Jean de Gaalon


On July 2, 2012, 1:58 p.m., Ivan Shapovalov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105410/
> -----------------------------------------------------------
> 
> (Updated July 2, 2012, 1:58 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Description
> -------
> 
> A small self-describing change.
> The problem is that type of an expression in switch statement is not correctly resolved.
> 
> Steps to reproduce: Open the provided test *.cpp in KDevelop, type in a new "case" statement and invoke auto-completion. See that type suggested is "A", not "E".
> 
> 
> Diffs
> -----
> 
>   languages/cpp/codecompletion/context.cpp 33dcad1 
> 
> Diff: http://git.reviewboard.kde.org/r/105410/diff/
> 
> 
> Testing
> -------
> 
> Manual testing.
> 
> 
> Thanks,
> 
> Ivan Shapovalov
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120703/99baad33/attachment.html>


More information about the KDevelop-devel mailing list