Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22729

[REG 4.9.2 -> 4.10] Code completion incorrectly offers "std" after Class::

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 4.10.0-rc1
    • C/C++/Obj-C++ Support
    • Ubuntu 19.04 64 bit

      Windows 10 1903 64 bit
    • Linux/X11, Windows

    Description

      1. Open the project cplusplus-tools
        It's in tests\manual\cplusplus-tools\cplusplus-tools.pro inside Creator's repository.
      2. Open main.cpp.
      3. At the end of the file, type "Dummy::s" and trigger completion (Ctrl+Space).
        The completion will offer "std" which doesn't seem right in this place.

      I don't think "std" should be proposed in this situation. Creator 4.9.2 did that right.

      Found by Squish test tst_CSUP06.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes