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

values of local enums are not highlighted and completion does not work

    XMLWordPrintable

Details

    • 68d6a762d914b0cfc1ede64161b14808d6e9b0ab

    Description

      void narf()
      {
          enum PlanForThisEvening { WatchTV, TheVerySameWeDoEveryNight, TakeOverTheWorld };
          PlanForThisEvening masterPlan;
          masterPlan = TakeOverTheWorld;
      }
      

      In this function the following does not work in Creator's C++ editor:

      • TakeOverTheWorld is not highlighted as enum value.
      • auto completion does not work for values of type PlanForThisEvening.

      Attachments

        Issue Links

          Activity

            People

              erikv Erik Verbruggen
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: