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

Highlighting is not working for variables in defined inside if()

    XMLWordPrintable

Details

    • Linux/X11

    Description

      For code similar to this:

      if(const bool a =
             []() {
                std::string b;
                return b.empty();
             }();
         a)
         ;
      

      highlighting (in the lambda) and code completion is not working (see the screenshot).

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            dimanne DimanNe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes