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

Errors in scopes determining

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 3.1.0-beta
    • Fix Version/s: Qt Creator 3.1.0-rc1
    • Component/s: Editors
    • Labels:
      None
    • Environment:
      Kubuntu 13.10 x64

      Description

      Try to open file with such content:

      class TClass
         {
         public:
            TClass()
               {
               }
      
            std::unique_ptr<TCheckBox> m_TaskOfTheDay;
         };
      

      You shall see that QtCreator defines scopes (and highlight it) wrong:

      and (cursor one line below)

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              davschul David Schulz
              Reporter:
              dimanne DimanNe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes