(Created page with "Bug report: If I have a declaration within a 'for', 'while', or 'if' conditional like this: A* obj; while (B* obj = getObj() ) { obj->...... // Completion list shown…") |
JohnBeckett (talk | contribs) (standard format) |
||
Line 1: | Line 1: | ||
+ | {{ScriptComments|1520|OmniCppComplete: C/C++ omni-completion with ctags database}} |
||
⚫ | |||
⚫ | |||
If I have a declaration within a 'for', 'while', or 'if' conditional like this: |
If I have a declaration within a 'for', 'while', or 'if' conditional like this: |
||
+ | <pre> |
||
− | |||
A* obj; |
A* obj; |
||
− | while (B* obj = getObj() ) |
+ | while (B* obj = getObj() ) |
{ |
{ |
||
− | + | obj->...... // Completion list shown here assumes type of obj to be A and not B -- that's a bug |
|
} |
} |
||
+ | </pre> |
||
+ | |||
+ | ==Comments== |
Revision as of 08:45, 22 February 2011
Use this page to discuss script 1520 1520
- Add constructive comments, bug reports, or discuss improvements (see the guideline).
- Do not document the script here (the author should do that on vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Bug report
If I have a declaration within a 'for', 'while', or 'if' conditional like this:
A* obj; while (B* obj = getObj() ) { obj->...... // Completion list shown here assumes type of obj to be A and not B -- that's a bug }